Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Range / invalid-arguments.html
blob1dad36b15ed67db6536a973a77e2e570d9493e78
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;
12 "compareBoundaryPoints(0, noRange)",
13 "comparePoint(noNode, 0)",
14 "insertNode(noNode)",
15 "intersectsNode(noNode)",
16 "isPointInRange(noNode, 0)",
17 "selectNode(noNode)",
18 "selectNodeContents(noNode)",
19 "setEnd(noNode, 0)",
20 "setEndAfter(noNode)",
21 "setEndBefore(noNode)",
22 "setStart(noNode, 0)",
23 "setStartAfter(noNode)",
24 "setStartBefore(noNode)",
25 "surroundContents(noNode)"
26 ].forEach(function(expr)
28 shouldThrow("range." + expr);
29 });
30 </script>
31 </body>
32 </html>