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

Unified Diff: LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/script-tests/replaceChild-null-oldChild.js
diff --git a/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js b/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
index da925280051e197e1af5c9ea4a25b41b96ec3a5f..4ad94c552fc1f1aeeef26824b479fe9669625ae5 100644
--- a/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
+++ b/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
@@ -1,3 +1,3 @@
description('Test behavior of Document.replaceChild() when oldChild is null.');
-shouldThrow('document.replaceChild(document.firstChild, null)', '"Error: NotFoundError: DOM Exception 8"');
+shouldThrow('document.replaceChild(document.firstChild, null)', '"NotFoundError: An attempt was made to reference a Node in a context where it does not exist."');

Powered by Google App Engine
This is Rietveld 408576698