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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks some DOM Range exceptions. 1 This test checks some DOM Range exceptions.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>' 6 PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>'
7 PASS foo.outerHTML is '<foo></foo>' 7 PASS foo.outerHTML is '<foo></foo>'
8 PASS range.surroundContents(foo) threw exception Error: InvalidNodeTypeError: DO M Exception 24. 8 PASS range.surroundContents(foo) threw exception InvalidNodeTypeError: The suppl ied node is invalid or has an invalid ancestor for this operation..
9 PASS r.surroundContents(document.createElement('a')) threw exception Error: Inva lidStateError: DOM Exception 11. 9 PASS r.surroundContents(document.createElement('a')) threw exception InvalidStat eError: An attempt was made to use an object that is not, or is no longer, usabl e..
10 PASS r.surroundContents(document.createElement('a')) threw exception Error: Hier archyRequestError: DOM Exception 3. 10 PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRe questError: A Node was inserted somewhere it doesn't belong..
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698