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

Unified Diff: LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt

Issue 385073015: Node.replaceChild and Node.removeChild do not use custom binding anymore (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix failed layout tests case Created 6 years, 5 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: LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt
diff --git a/LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt b/LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt
index 0ea9a7dd54d42c74edda1b320acbbcbdc5b8c876..fb7969b91b9d97af885835c60a848db44a955978 100644
--- a/LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt
+++ b/LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt
@@ -3,7 +3,7 @@ Test behavior of Document.replaceChild() when oldChild is null.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.replaceChild(document.firstChild, null) threw exception NotFoundError: Failed to execute 'replaceChild' on 'Node': The node to be replaced is null..
+PASS document.replaceChild(document.firstChild, null) threw exception TypeError: Failed to execute 'replaceChild' on 'Node': parameter 2 is not of type 'Node'..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698