Skip to content

Commit

Permalink
Use DOM's "replace all" primitive in document.open()
Browse files Browse the repository at this point in the history
This makes it clearer what is expected with respect to mutation observers.
  • Loading branch information
annevk authored and domenic committed Apr 30, 2018
1 parent ee5ff06 commit 423c664
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -90648,9 +90648,8 @@ document.body.appendChild(frame)</pre>
<!-- removes callbacks that fired between this algorithm starting and the times and databases
being aborted in the "unload" step above -->

<li><p>Remove all child nodes of <var>document</var>, without firing any mutation
events.</p></li>
<!-- as of 2009-03-30, only WebKit fired mutation events here. -->
<li><p><span data-x="concept-node-replace-all">Replace all</span> with null within
<var>document</var>, without firing any mutation events.</p></li>

<li>
<p>Call the JavaScript <span
Expand Down

0 comments on commit 423c664

Please sign in to comment.