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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Ensures that replaceChild() throws an exception if mutation even handler does so mething wrong 1 Ensures that replaceChild() throws an exception if mutation even handler does so mething wrong
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS target.replaceChild(newChild, oldChild); threw exception HierarchyRequestEr ror: Failed to execute 'replaceChild' on 'Node': The new child element contains the parent.. 6 PASS target.replaceChild(newChild, oldChild); threw exception NotFoundError: Fai led to execute 'replaceChild' on 'Node': The node to be removed is no longer a c hild of this node. Perhaps it was moved in response to a mutation?.
7 PASS successfullyParsed is true 7 PASS successfullyParsed is true
8 8
9 TEST COMPLETE 9 TEST COMPLETE
10 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698