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

Unified Diff: LayoutTests/fast/js/script-tests/dot-node-base-exception.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/js/script-tests/dot-node-base-exception.js
diff --git a/LayoutTests/fast/js/script-tests/dot-node-base-exception.js b/LayoutTests/fast/js/script-tests/dot-node-base-exception.js
index 9f362a7f78817bcb8fc7c87ed26c63cf2a78a195..e7ef9972368fa01a27a31f631c4cc24ae3a97d09 100644
--- a/LayoutTests/fast/js/script-tests/dot-node-base-exception.js
+++ b/LayoutTests/fast/js/script-tests/dot-node-base-exception.js
@@ -3,4 +3,4 @@ description(
);
// Should be a DOM exception, not just some "TypeError: Null value".
-shouldThrow('(document.appendChild()).foobar()', '"Error: NotFoundError: DOM Exception 8"');
+shouldThrow('(document.appendChild()).foobar()', '"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