[Webkit-unassigned] [Bug 58886] Web Inspector: Render non-document HTML resources as HTML
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 20 09:39:55 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=58886
--- Comment #6 from Vsevolod Vlasov <vsevik at chromium.org> 2011-04-20 09:39:55 PST ---
> > Source/WebCore/inspector/front-end/NetworkItemView.js:58
> > + if (resource.type !== WebInspector.Resource.Type.Document && resource.content && resource.mimeType == "text/html") {
>
> Has mimeType already been canonicalized (e.g., converted to lower case)? What about application/xml+html ?
I removed this check. We decided that we should render HTML only for resources with error status code.
> > Source/WebCore/inspector/front-end/ResourceHTMLView.js:57
> > + iframe.sandbox=""; // Forbid to run JavaScript and set unique origin.
>
> You should use setAttribute rather than the DOM reflection of the attribute.
Done
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list