[Webkit-unassigned] [Bug 120826] New: DOMParser.parseFromString() should support creating HTML Document with mime-type text/html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 5 21:39:31 PDT 2013


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

           Summary: DOMParser.parseFromString() should support creating
                    HTML Document with mime-type text/html
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vivekg at webkit.org


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.

blink review URL: https://codereview.chromium.org/23903014/

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