Audits panel hangs indefinitely when there is no network
Reported by
mattrulz...@gmail.com,
Aug 15 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Steps to reproduce the problem: 1. Open About:Blank in a tab 2. Open DevTools -> Audit 3. Disable networking on the host (Disconnect ethernet/wifi/etc) 4. Start an Audit from the new Audits panel (not the Legacy Audits). What is the expected behavior? Audit should complete and show a Lighthouse report. What went wrong? Audit hangs on "Loading..." screen indefinitely. Did this work before? No Chrome version: 60.0.3112.90 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 26.0 r0 As far as I can tell, the integrated Lighthouse is trying to load the image of an iPhone normally displayed during Audits from an external source. When the network is unavailable, this doesn't work, and everything hangs.
,
Aug 16 2017
Thanks for the report. I'm able to reproduce this on 62.0.3187.0. Looking at the DevTools on DevTools console, it looks like this is a result of audits2_worker_module being remotely served. Several modules in DevTools are large enough that we serve them remotely to users. When going offline, certain features including remote debugging may fail, since their modules are not included with Chrome by default. After you go online and run an Audit, it should be downloaded for future use. I think it's reasonable to keep audits2_worker remote, but maybe we should handle the error and display a message to the user instead of hanging. phulce@, could you please take a look?
,
Jan 31 2018
,
Oct 31
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mattrulz...@gmail.com
, Aug 15 2017