[Webkit-unassigned] [Bug 58886] Web Inspector: Render non-document HTML resources as HTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 19 10:22:04 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58886





--- Comment #5 from Adam Barth <abarth at webkit.org>  2011-04-19 10:22:04 PST ---
(From update of attachment 90201)
View in context: https://bugs.webkit.org/attachment.cgi?id=90201&action=review

> 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 ?

> 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.

-- 
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