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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child-expected.txt

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/events/mutation-during-replace-child-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child-expected.txt b/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child-expected.txt
index dc60e060c1a7a5845674c34e7da7e6614d191870..2d0939353c24585b5d7459f456c226c834a13a73 100644
--- a/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/mutation-during-replace-child-expected.txt
@@ -3,7 +3,7 @@ Ensures that replaceChild() throws an exception if mutation even handler does so
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS target.replaceChild(newChild, oldChild); threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': The new child element contains the parent..
+PASS target.replaceChild(newChild, oldChild); threw exception NotFoundError: Failed to execute 'replaceChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in response to a mutation?.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698