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 "execCommand()", |
22 "getElementById()", | 23 "getElementById()", |
23 "getElementsByClassName()", | 24 "getElementsByClassName()", |
24 "getElementsByName()", | 25 "getElementsByName()", |
25 "getElementsByTagName()", | 26 "getElementsByTagName()", |
26 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", | 27 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", |
27 "getElementsByTagNameNS()", | 28 "getElementsByTagNameNS()", |
28 "importNode()" | 29 "importNode()", |
| 30 "queryCommandEnabled()", |
| 31 "queryCommandIndeterm()", |
| 32 "queryCommandState()", |
| 33 "queryCommandSupported()", |
| 34 "queryCommandValue()", |
29 ].forEach(function(expr) | 35 ].forEach(function(expr) |
30 { | 36 { |
31 shouldThrow("document." + expr); | 37 shouldThrow("document." + expr); |
32 }); | 38 }); |
33 </script> | 39 </script> |
34 </body> | 40 </body> |
35 </html> | 41 </html> |
OLD | NEW |