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

Side by Side Diff: LayoutTests/fast/dom/Range/invalid-arguments.html

Issue 1149373003: Remove Range.compareNode() as it is not in the spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updated webexposed/global-interface-listing.html Created 5 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/invalid-arguments-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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 var range = document.createRange(); 8 var range = document.createRange();
9 var noNode = {}; 9 var noNode = {};
10 var noRange = document.body; 10 var noRange = document.body;
11 [ 11 [
12 "compareBoundaryPoints(0, noRange)", 12 "compareBoundaryPoints(0, noRange)",
13 "compareNode(noNode)",
14 "comparePoint(noNode, 0)", 13 "comparePoint(noNode, 0)",
15 "insertNode(noNode)", 14 "insertNode(noNode)",
16 "intersectsNode(noNode)", 15 "intersectsNode(noNode)",
17 "isPointInRange(noNode, 0)", 16 "isPointInRange(noNode, 0)",
18 "selectNode(noNode)", 17 "selectNode(noNode)",
19 "selectNodeContents(noNode)", 18 "selectNodeContents(noNode)",
20 "setEnd(noNode, 0)", 19 "setEnd(noNode, 0)",
21 "setEndAfter(noNode)", 20 "setEndAfter(noNode)",
22 "setEndBefore(noNode)", 21 "setEndBefore(noNode)",
23 "setStart(noNode, 0)", 22 "setStart(noNode, 0)",
24 "setStartAfter(noNode)", 23 "setStartAfter(noNode)",
25 "setStartBefore(noNode)", 24 "setStartBefore(noNode)",
26 "surroundContents(noNode)" 25 "surroundContents(noNode)"
27 ].forEach(function(expr) 26 ].forEach(function(expr)
28 { 27 {
29 shouldThrow("range." + expr); 28 shouldThrow("range." + expr);
30 }); 29 });
31 </script> 30 </script>
32 </body> 31 </body>
33 </html> 32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/invalid-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698