Bug 57349 - Web Inspector: audit run never completes, fails in DOMAgent.js
Summary: Web Inspector: audit run never completes, fails in DOMAgent.js
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 09:23 PDT by Andrey Kosyakov
Modified: 2011-03-30 09:06 PDT (History)
9 users (show)

See Also:


Attachments
patch (12.49 KB, patch)
2011-03-30 06:02 PDT, Andrey Kosyakov
no flags Details | Formatted Diff | Diff
patch (2.42 KB, patch)
2011-03-30 08:26 PDT, Andrey Kosyakov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2011-03-29 09:23:33 PDT
1. Navigate to http://cnn.com
2. Open WebInspector
3. Switch to Audits panel, click run
4. Observe that audit run never completes, the following error is reported to inspector's console:
Uncaught TypeError: Cannot read property '0' of null DOMAgent.js:395
Comment 1 Andrey Kosyakov 2011-03-30 06:02:53 PDT
Created attachment 87510 [details]
patch
Comment 2 Andrey Kosyakov 2011-03-30 08:26:22 PDT
Created attachment 87540 [details]
patch

This is a trivial workaround for the problem that may be easily back-ported. I'm still looking to land the original patch, as it adds a bit of robustness to other places as well.
Comment 3 Andrey Kosyakov 2011-03-30 09:06:01 PDT
Manually committed r82453: http://trac.webkit.org/changeset/82453