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

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

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 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
(Empty)
1 Test for Bug: 75799 - Calling intersectsNode on a detached range should throw
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS range.intersectsNode(document.getElementById('b1')) threw exception Invalid StateError: Failed to execute 'intersectsNode' on 'Range': The range has no cont ainer. Perhaps 'detach()' has been invoked on this object?.
7 PASS successfullyParsed is true
8
9 TEST COMPLETE
10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698