OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 [ | 8 [ |
9 "adoptNode()", | 9 "adoptNode()", |
| 10 "createAttribute()", |
| 11 "createAttributeNS('http://www.w3.org/2000/svg')", |
| 12 "createAttributeNS()", |
| 13 "createCDATASection()", |
10 "createComment()", | 14 "createComment()", |
11 "createElement()", | 15 "createElement()", |
12 "createElementNS('http://www.w3.org/2000/svg')", | 16 "createElementNS('http://www.w3.org/2000/svg')", |
13 "createElementNS()", | 17 "createElementNS()", |
14 "createEvent()", | 18 "createEvent()", |
15 "createProcessingInstruction('xml')", | 19 "createProcessingInstruction('xml')", |
16 "createProcessingInstruction()", | 20 "createProcessingInstruction()", |
17 "createTextNode()", | 21 "createTextNode()", |
18 "getElementById()", | 22 "getElementById()", |
19 "getElementsByClassName()", | 23 "getElementsByClassName()", |
20 "getElementsByTagName()", | 24 "getElementsByTagName()", |
21 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", | 25 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", |
22 "getElementsByTagNameNS()", | 26 "getElementsByTagNameNS()", |
23 "importNode()" | 27 "importNode()" |
24 ].forEach(function(expr) | 28 ].forEach(function(expr) |
25 { | 29 { |
26 shouldThrow("document." + expr); | 30 shouldThrow("document." + expr); |
27 }); | 31 }); |
28 </script> | 32 </script> |
29 </body> | 33 </body> |
30 </html> | 34 </html> |
OLD | NEW |