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

Side by Side Diff: LayoutTests/fast/dom/Range/range-constructor.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../js/resources/js-test-pre.js"></script>
3 <div id="test-div">Test</div> 3 <div id="test-div">Test</div>
4 <script> 4 <script>
5 5
6 description('Tests that we can create instances of Range using new'); 6 description('Tests that we can create instances of Range using new');
7 7
8 shouldBe('typeof new Range', '"object"'); 8 shouldBe('typeof new Range', '"object"');
9 shouldBe('Object.prototype.toString.call(new Range)', '"[object Range]"'); 9 shouldBe('Object.prototype.toString.call(new Range)', '"[object Range]"');
10 shouldBeTrue('new Range instanceof Range'); 10 shouldBeTrue('new Range instanceof Range');
(...skipping 10 matching lines...) Expand all
21 innerDocument.body.textContent = 'Inner'; 21 innerDocument.body.textContent = 'Inner';
22 22
23 shouldBeTrue('new innerWindow.Range instanceof innerWindow.Range'); 23 shouldBeTrue('new innerWindow.Range instanceof innerWindow.Range');
24 shouldBe('Object.getPrototypeOf(new innerWindow.Range)', 'innerWindow.Range.prot otype'); 24 shouldBe('Object.getPrototypeOf(new innerWindow.Range)', 'innerWindow.Range.prot otype');
25 25
26 var r = new innerWindow.Range(); 26 var r = new innerWindow.Range();
27 r.selectNodeContents(innerDocument.body); 27 r.selectNodeContents(innerDocument.body);
28 shouldBe('r.toString()', '"Inner"'); 28 shouldBe('r.toString()', '"Inner"');
29 29
30 </script> 30 </script>
31 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698