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

Unified Diff: LayoutTests/fast/dom/Range/compareBoundaryPoints-1.html

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/compareBoundaryPoints-1.html
diff --git a/LayoutTests/fast/dom/Range/compareBoundaryPoints-1.html b/LayoutTests/fast/dom/Range/compareBoundaryPoints-1.html
index 64b5293a5c37a01b02f69ac545f2b54fd3894b36..992ba2608da6231dcf334f15d3258a666dc52817 100644
--- a/LayoutTests/fast/dom/Range/compareBoundaryPoints-1.html
+++ b/LayoutTests/fast/dom/Range/compareBoundaryPoints-1.html
@@ -32,7 +32,7 @@ try {
var compare = r1.compareBoundaryPoints(Range.START_TO_START, r2);
log("Error. compareBoundaryPoints should have thrown an exception.");
} catch (e) {
- var expected = "Error: WrongDocumentError: DOM Exception 4";
+ var expected = "WrongDocumentError: A Node was used in a different document than the one that created it (that doesn't support it).";
if (e != expected)
log("Error. Exception thrown should have been: " + expected);
}
« no previous file with comments | « LayoutTests/fast/dom/Range/31684-expected.txt ('k') | LayoutTests/fast/dom/Range/range-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698