Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Element / missing-arguments.html
blob19c9d54029874e8f4dac6c2419bdabfd8a5060d7
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 var element = document.createElementNS("http://example.com/", "example");
10 "getAttribute()",
11 "getAttributeNS()",
12 "getAttributeNS('http://example.com/')",
13 "getAttributeNode()",
14 "getAttributeNodeNS()",
15 "getAttributeNodeNS('http://www.w3.org/2000/svg')",
16 "getElementsByClassName()",
17 "getElementsByTagName()",
18 "getElementsByTagNameNS()",
19 "getElementsByTagNameNS('http://example.com/')",
20 "hasAttributeNS()",
21 "hasAttributeNS('http://example.com/')",
22 "removeAttribute()",
23 "removeAttributeNS()",
24 "removeAttributeNS('http://example.com/')",
25 "removeAttributeNode()",
26 "setAttribute()",
27 "setAttribute('example')",
28 "setAttributeNS()",
29 "setAttributeNS('http://example.com/')",
30 "setAttributeNS('http://example.com/', 'example')",
31 "setAttributeNode()",
32 "setAttributeNodeNS()"
33 ].forEach(function(expr)
35 shouldThrow("element." + expr);
36 });
37 </script>
38 </body>
39 </html>