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); |
} |