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

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

Issue 974823002: Add [TypeChecking=Interface] to Range interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add FIXME comments Created 5 years, 9 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
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 var range = document.createRange();
9 var noNode = {};
10 var noRange = document.body;
11 [
12 "compareBoundaryPoints(0, noRange)",
13 "compareNode(noNode)",
14 "comparePoint(noNode, 0)",
15 "insertNode(noNode)",
16 "intersectsNode(noNode)",
17 "isPointInRange(noNode, 0)",
18 "selectNode(noNode)",
19 "selectNodeContents(noNode)",
20 "setEnd(noNode, 0)",
21 "setEndAfter(noNode)",
22 "setEndBefore(noNode)",
23 "setStart(noNode, 0)",
24 "setStartAfter(noNode)",
25 "setStartBefore(noNode)",
26 "surroundContents(noNode)"
27 ].forEach(function(expr)
28 {
29 shouldThrow("range." + expr);
30 });
31 </script>
32 </body>
33 </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