OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <script src="../../resources/js-test.js"></script> | |
5 </head> | |
6 <body> | |
7 <script> | |
8 [ | |
9 "setNamedItem()", | |
10 "setNamedItemNS()", | |
11 ].forEach(function(expr) | |
12 { | |
13 window.attributes = document.body.attributes; | |
14 shouldThrow("attributes." + expr); | |
15 }); | |
16 </script> | |
17 </body> | |
18 </html> | |
OLD | NEW |