Bug 49731

Summary: Web Inspector: [REGRESSION] Crash on opening WebInspector for a page with CSS containing @media with nested rules
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, knavia, loislo, paulirish, pfeldman, phiw2, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Suggested fix pfeldman: review+

Description Alexander Pavlov (apavlov) 2010-11-18 07:10:52 PST
1. Go to http://www.opera.com/
2. Open Web Inspector

Upstreaming http://code.google.com/p/chromium/issues/detail?id=63575
Comment 1 Alexander Pavlov (apavlov) 2010-11-19 04:42:27 PST
Created attachment 74368 [details]
[PATCH] Suggested fix

This patch temporarily disables building of styles for nested rules. A corresponding regression bug will be filed once the crasher is gone.
Comment 2 Pavel Feldman 2010-11-19 04:44:26 PST
Comment on attachment 74368 [details]
[PATCH] Suggested fix

View in context: https://bugs.webkit.org/attachment.cgi?id=74368&action=review

> WebCore/inspector/InspectorStyleSheet.cpp:682
> +        RefPtr<InspectorObject> bogusStyle = InspectorObject::create();

Please add FIXME here.
Comment 3 Alexander Pavlov (apavlov) 2010-11-19 06:56:56 PST
Committed with comment addressed: <http://trac.webkit.org/changeset/72386>
Comment 4 Pavel Feldman 2010-11-21 07:33:52 PST
*** Bug 49862 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Pavlov (apavlov) 2010-11-24 14:27:51 PST
*** Bug 49738 has been marked as a duplicate of this bug. ***