Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / NamedNodeMap-missing-arguments.html
blob15a790650a17e2c706ccefef8749e72ffabf2d11
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
9 "getNamedItem()",
10 "getNamedItemNS()",
11 "getNamedItemNS('http://www.w3.org/2000/svg')",
12 "item()",
13 "removeNamedItem()",
14 "removeNamedItemNS()",
15 "removeNamedItemNS('http://www.w3.org/2000/svg')",
16 "setNamedItem()",
17 "setNamedItemNS()",
18 ].forEach(function(expr)
20 window.attributes = document.body.attributes;
21 shouldThrow("attributes." + expr);
22 });
23 </script>
24 </body>
25 </html>