Skip to content

Commit 423c664

Browse files
annevkdomenic
authored andcommitted
Use DOM's "replace all" primitive in document.open()
This makes it clearer what is expected with respect to mutation observers.
1 parent ee5ff06 commit 423c664

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90648,9 +90648,8 @@ document.body.appendChild(frame)</pre>
9064890648
<!-- removes callbacks that fired between this algorithm starting and the times and databases
9064990649
being aborted in the "unload" step above -->
9065090650

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

9065590654
<li>
9065690655
<p>Call the JavaScript <span

0 commit comments

Comments
 (0)