[Webkit-unassigned] [Bug 148765] New: prepend should throw when it's called on a node without children

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 3 18:08:57 PDT 2015


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

            Bug ID: 148765
           Summary: prepend should throw when it's called on a node
                    without children
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: cdumez at apple.com, webkit-bug-importer at group.apple.com

document.createElement('div').prepend(document.createElement('span')) should throw HierarchyRequestError when ensureing pre-insertion validity.

This bug was found by the newly added test: LayoutTests/http/tests/w3c/dom/nodes/prepend-on-Document.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150904/9ea9fe34/attachment.html>


More information about the webkit-unassigned mailing list