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

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

Issue 23404003: Make Range methods to work with detached node (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-08-27T11:16:22 Created 7 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>'
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 InvalidStat eError: An attempt was made to use an object that is not, or is no longer, usabl e.. 7 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 HierarchyRe questError: A Node was inserted somewhere it doesn't belong.. 8 PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRe questError: A Node was inserted somewhere it doesn't belong..
11 PASS successfullyParsed is true 9 PASS successfullyParsed is true
12 10
13 TEST COMPLETE 11 TEST COMPLETE
14 12
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698