Bug 36821 - Web Inspector: Audits: bad CSS selector results in exception inside evaluated code
Summary: Web Inspector: Audits: bad CSS selector results in exception inside evaluated...
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: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 06:51 PDT by Alexander Pavlov (apavlov)
Modified: 2010-03-30 08:40 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Suggested solution (1.65 KB, patch)
2010-03-30 07:30 PDT, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.