Chromium Code Reviews
DescriptionDOM append(), prepend(), after(), before(), and replaceWith() should throw an exception if a Document is specified as one of arguments.
https://dom.spec.whatwg.org/#converting-nodes-into-a-node
> 4. Otherwise, set node to a new DocumentFragment whose node document is
> document, and then append each node in nodes, if any, to it. Rethrow any
> exceptions.
Our implementation convertNodesIntoNode() ignored exceptions in this step.
BUG=632873
Committed: https://crrev.com/68903386758f2e1924448af26989fd47b327a145
Cr-Commit-Position: refs/heads/master@{#416196}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||