Bug 80528

Summary: Web Inspector: CSS content is not shown when stylesheet is loaded with invalid mime type in quirks mode.
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Vsevolod Vlasov <vsevik>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch pfeldman: review+

Description Vsevolod Vlasov 2012-03-07 12:09:55 PST
CSS content is not shown when stylesheet is loaded with invalid mime type in quirks mode.
Comment 1 Vsevolod Vlasov 2012-03-11 03:08:47 PDT
Created attachment 131213 [details]
Patch
Comment 2 Alexander Pavlov (apavlov) 2012-03-11 05:05:05 PDT
Comment on attachment 131213 [details]
Patch

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

> LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html:36
> +  <!--<iframe src="resources/dummy-iframe.html" onload="runTest()">-->

Is this line necessary?
Comment 3 Vsevolod Vlasov 2012-03-11 05:40:59 PDT
Created attachment 131218 [details]
Patch
Comment 4 Vsevolod Vlasov 2012-03-11 05:41:19 PDT
(In reply to comment #2)
> (From update of attachment 131213 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=131213&action=review
> 
> > LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html:36
> > +  <!--<iframe src="resources/dummy-iframe.html" onload="runTest()">-->
> 
> Is this line necessary?

Of course not, thanks for spotting this.
Comment 5 Vsevolod Vlasov 2012-03-11 08:00:01 PDT
Committed r110392: <http://trac.webkit.org/changeset/110392>