Bug 80528 - Web Inspector: CSS content is not shown when stylesheet is loaded with invalid mime type in quirks mode.
Summary: Web Inspector: CSS content is not shown when stylesheet is loaded with invali...
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: Vsevolod Vlasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 12:09 PST by Vsevolod Vlasov
Modified: 2012-03-11 08:00 PDT (History)
10 users (show)

See Also:


Attachments
Patch (5.61 KB, patch)
2012-03-11 03:08 PDT, Vsevolod Vlasov
no flags Details | Formatted Diff | Diff
Patch (5.54 KB, patch)
2012-03-11 05:40 PDT, Vsevolod Vlasov
pfeldman: review+
Details | Formatted Diff | Diff

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