New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755602 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Audits panel hangs indefinitely when there is no network

Reported by mattrulz...@gmail.com, Aug 15 2017

Issue description

UserAgent: 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.
 
Re: Steps to reproduce
for step (1), try opening chrome:settings instead, as per  Issue 747357  about:blank won't complete normally anyway.

This specific issue (Audits not working when there is no network) persists regardless of the page used.

Comment 2 by l...@chromium.org, Aug 16 2017

Cc: paulir...@chromium.org
Owner: phulce@chromium.org
Status: Assigned (was: Unconfirmed)
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?

Comment 3 by phulce@chromium.org, Jan 31 2018

Cc: phulce@chromium.org
 Issue 805478  has been merged into this issue.
Owner: paulir...@chromium.org

Sign in to add a comment