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

Unified Diff: LayoutTests/fast/dom/Range/script-tests/31684.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/Range/script-tests/31684.js
diff --git a/LayoutTests/fast/dom/Range/script-tests/31684.js b/LayoutTests/fast/dom/Range/script-tests/31684.js
index 511d7701cf95e4f4a00c2deed597619011d13775..60473c4c4b58433c5e2e7166551a47aa61fa1633 100644
--- a/LayoutTests/fast/dom/Range/script-tests/31684.js
+++ b/LayoutTests/fast/dom/Range/script-tests/31684.js
@@ -7,4 +7,4 @@ var text = document.createTextNode('hello');
var element = document.createElement("div");
range.selectNodeContents(text);
-shouldThrow("range.surroundContents(element)", '"Error: HierarchyRequestError: DOM Exception 3"');
+shouldThrow("range.surroundContents(element)", '"HierarchyRequestError: A Node was inserted somewhere it doesn\'t belong."');
« no previous file with comments | « LayoutTests/fast/dom/Range/resources/intersectsNode.js ('k') | LayoutTests/fast/dom/Range/script-tests/range-exceptions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698