[Webkit-unassigned] [Bug 87454] New: createContextualFragment and insertAdjacentHTML should throw syntax error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 24 20:26:21 PDT 2012


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

           Summary: createContextualFragment and insertAdjacentHTML should
                    throw syntax error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org


Right now, createContextualFragment throws NOT_SUPPORTED_ERR and insertAdjacentHTML doesn't throw any errors.

We should throw SYNTAX_ERR to be consistent with the spec and Firefox.
http://html5.org/specs/dom-parsing.html#parsing
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#xml-fragment-parsing-algorithm

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