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

Unified Diff: LayoutTests/fast/js/script-tests/dot-node-base-exception.js

Issue 23889039: Improve 'ContainerNode' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 3 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 e7ef9972368fa01a27a31f631c4cc24ae3a97d09..fc06c2e6c4b2b1980f3c15ae26d9135b0d3bc9a5 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()', '"NotFoundError: An attempt was made to reference a Node in a context where it does not exist."');
+shouldThrow('(document.appendChild()).foobar()', '"NotFoundError: Failed to execute \'appendChild\' on \'ContainerNode\': The new child element is null."');

Powered by Google App Engine
This is Rietveld 408576698