| 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()", | 10 "createAttribute()", |
| 11 "createAttributeNS('http://www.w3.org/2000/svg')", | 11 "createAttributeNS('http://www.w3.org/2000/svg')", |
| 12 "createAttributeNS()", | 12 "createAttributeNS()", |
| 13 "createCDATASection()", | 13 "createCDATASection()", |
| 14 "createComment()", | 14 "createComment()", |
| 15 "createElement()", | 15 "createElement()", |
| 16 "createElementNS('http://www.w3.org/2000/svg')", | 16 "createElementNS('http://www.w3.org/2000/svg')", |
| 17 "createElementNS()", | 17 "createElementNS()", |
| 18 "createEvent()", | 18 "createEvent()", |
| 19 "createProcessingInstruction('xml')", | 19 "createProcessingInstruction('xml')", |
| 20 "createProcessingInstruction()", | 20 "createProcessingInstruction()", |
| 21 "createTextNode()", | 21 "createTextNode()", |
| 22 "elementFromPoint()", |
| 23 "elementFromPoint(0)", |
| 22 "execCommand()", | 24 "execCommand()", |
| 23 "getElementById()", | 25 "getElementById()", |
| 24 "getElementsByClassName()", | 26 "getElementsByClassName()", |
| 25 "getElementsByName()", | 27 "getElementsByName()", |
| 26 "getElementsByTagName()", | 28 "getElementsByTagName()", |
| 27 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", | 29 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", |
| 28 "getElementsByTagNameNS()", | 30 "getElementsByTagNameNS()", |
| 29 "importNode()", | 31 "importNode()", |
| 30 "queryCommandEnabled()", | 32 "queryCommandEnabled()", |
| 31 "queryCommandIndeterm()", | 33 "queryCommandIndeterm()", |
| 32 "queryCommandState()", | 34 "queryCommandState()", |
| 33 "queryCommandSupported()", | 35 "queryCommandSupported()", |
| 34 "queryCommandValue()", | 36 "queryCommandValue()", |
| 35 ].forEach(function(expr) | 37 ].forEach(function(expr) |
| 36 { | 38 { |
| 37 shouldThrow("document." + expr); | 39 shouldThrow("document." + expr); |
| 38 }); | 40 }); |
| 39 </script> | 41 </script> |
| 40 </body> | 42 </body> |
| 41 </html> | 43 </html> |
| OLD | NEW |