| 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 var element = document.createElementNS("http://example.com/", "example"); | |
| 9 [ | |
| 10 "getAttribute()", | |
| 11 "getAttributeNS()", | |
| 12 "getAttributeNS('http://example.com/')", | |
| 13 "getElementsByClassName()", | |
| 14 "getElementsByTagName()", | |
| 15 "getElementsByTagNameNS()", | |
| 16 "getElementsByTagNameNS('http://example.com/')", | |
| 17 "hasAttributeNS()", | |
| 18 "hasAttributeNS('http://example.com/')", | |
| 19 "removeAttribute()", | |
| 20 "removeAttributeNS()", | |
| 21 "removeAttributeNS('http://example.com/')", | |
| 22 "setAttribute()", | |
| 23 "setAttribute('example')", | |
| 24 "setAttributeNS()", | |
| 25 "setAttributeNS('http://example.com/')", | |
| 26 "setAttributeNS('http://example.com/', 'example')" | |
| 27 ].forEach(function(expr) | |
| 28 { | |
| 29 shouldThrow("element." + expr); | |
| 30 }); | |
| 31 </script> | |
| 32 </body> | |
| 33 </html> | |
| OLD | NEW |