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

Unified Diff: LayoutTests/fast/dom/Range/script-tests/range-exceptions.js

Issue 14705009: Remove RangeException interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectation Created 7 years, 8 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/range-exceptions.js
diff --git a/LayoutTests/fast/dom/Range/script-tests/range-exceptions.js b/LayoutTests/fast/dom/Range/script-tests/range-exceptions.js
index 457b164396d12947dfc2a8876ab5eb3d469afcba..563c741877414c46419a0d796c09e3707f9cdc1c 100644
--- a/LayoutTests/fast/dom/Range/script-tests/range-exceptions.js
+++ b/LayoutTests/fast/dom/Range/script-tests/range-exceptions.js
@@ -22,7 +22,7 @@ node.appendChild(c2);
var r = document.createRange();
r.setStart(c1, 2);
r.setEnd(c2, 3);
-shouldThrow("r.surroundContents(document.createElement('a'))", '"Error: BAD_BOUNDARYPOINTS_ERR: DOM Range Exception 1"');
+shouldThrow("r.surroundContents(document.createElement('a'))", '"Error: InvalidStateError: DOM Exception 11"');
// But not when we don't try to split the comment.
r.setStart(c1, 0);
« no previous file with comments | « LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt ('k') | LayoutTests/fast/dom/Window/get-set-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698