DescriptionDOMParser.parseFromString() should support creating HTML Document with mimetype text/html
The specification http://domparsing.spec.whatwg.org/#the-domparser-interface for DOMParser.parseFromString()
allows the document creation if the mimeType is one of the supported types:
["text/html", "text/xml", "application/xml", "application/xhtml+xml", "image/svg+xml"]
Also script elements get marked unexecutable and the contents of noscript get parsed as markup.
R=tkent, abarth, eseidel
BUG=265379
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157322
Patch Set 1 #
Total comments: 2
Patch Set 2 : Patch for landing! #
Messages
Total messages: 6 (0 generated)
|