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

Unified Diff: LayoutTests/fast/dom/Range/surroundContents-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/surroundContents-1.html
diff --git a/LayoutTests/fast/dom/Range/surroundContents-1.html b/LayoutTests/fast/dom/Range/surroundContents-1.html
index a5fb477879191aceae0584225b18e4346d98c92d..c337e73e3beb1f5c4fc73a530e4732f08e7b48b1 100644
--- a/LayoutTests/fast/dom/Range/surroundContents-1.html
+++ b/LayoutTests/fast/dom/Range/surroundContents-1.html
@@ -20,15 +20,15 @@ range.setStart(text, 0);
range.setEnd(text, text.length);
try {
- range.surroundContents(select);
+ range.surroundContents(select);
} catch (e) {
- var error = "Error: HierarchyRequestError: DOM Exception 3";
+ var error = "HierarchyRequestError: A Node was inserted somewhere it doesn't belong.";
if (e != error)
log ("Failure, expected: " + error);
}
try {
- range.surroundContents(insert);
+ range.surroundContents(insert);
} catch (e) {
log ("Failure: " + error);
}

Powered by Google App Engine
This is Rietveld 408576698