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

Unified Diff: LayoutTests/fast/dom/Range/range-exceptions-expected.txt

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/range-exceptions-expected.txt
diff --git a/LayoutTests/fast/dom/Range/range-exceptions-expected.txt b/LayoutTests/fast/dom/Range/range-exceptions-expected.txt
index 7ab97f91ad191842343b074402683300d6f24f5a..44341d65310aa8977a3c457e0db488d516fa5624 100644
--- a/LayoutTests/fast/dom/Range/range-exceptions-expected.txt
+++ b/LayoutTests/fast/dom/Range/range-exceptions-expected.txt
@@ -5,9 +5,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>'
PASS foo.outerHTML is '<foo></foo>'
-PASS range.surroundContents(foo) threw exception Error: InvalidNodeTypeError: DOM Exception 24.
-PASS r.surroundContents(document.createElement('a')) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS r.surroundContents(document.createElement('a')) threw exception Error: HierarchyRequestError: DOM Exception 3.
+PASS range.surroundContents(foo) threw exception InvalidNodeTypeError: The supplied node is invalid or has an invalid ancestor for this operation..
+PASS r.surroundContents(document.createElement('a')) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRequestError: A Node was inserted somewhere it doesn't belong..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698