Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/move-nodes-across-documents.html

Issue 2889523002: MutationObserver: Correct MutationRecords for Node.replaceChild(). (Closed)
Patch Set: Add step comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/move-nodes-across-documents.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/move-nodes-across-documents.html b/third_party/WebKit/LayoutTests/fast/dom/move-nodes-across-documents.html
index 62d516e4c660385a166e57132e7b6a3deb0f5834..1d419114663310c44daa01a2377bf1800d74a0ed 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/move-nodes-across-documents.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/move-nodes-across-documents.html
@@ -131,7 +131,8 @@ function run()
runTest(function() {
iframeDoc.body.appendChild(document.createElement('div'));
var element = elementInCurrentDocument('replaceChild');
- // Make sure we don't crash if the element is moved back to the original document during the insertBefore call.
+ // Make sure we don't crash if the element is moved back to the original
+ // document during the replaceChild call.
var mutationHandler = function() {
document.body.removeEventListener('DOMSubtreeModified', mutationHandler, true);
document.body.appendChild(element);

Powered by Google App Engine
This is Rietveld 408576698