Bug 36821

Summary: Web Inspector: Audits: bad CSS selector results in exception inside evaluated code
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: bweinstein, commit-queue, joepeck, keishi, pfeldman, pmuellr, rik, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Suggested solution none

Description Alexander Pavlov (apavlov) 2010-03-30 06:51:51 PDT
When an weird CSS selector is present in the page styles (e.g. "fb:foo-bar" on techcrunch.com),
an exception is logged into the console and the audits fail to terminate, thus leaving the Audits panel in an inconsistent state.
Comment 1 Alexander Pavlov (apavlov) 2010-03-30 07:30:25 PDT
Created attachment 52037 [details]
[PATCH] Suggested solution
Comment 2 WebKit Commit Bot 2010-03-30 08:40:33 PDT
Comment on attachment 52037 [details]
[PATCH] Suggested solution

Clearing flags on attachment: 52037

Committed r56792: <http://trac.webkit.org/changeset/56792>
Comment 3 WebKit Commit Bot 2010-03-30 08:40:37 PDT
All reviewed patches have been landed.  Closing bug.