OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>GlobalEventHandlers test</title> | 2 <title>GlobalEventHandlers test</title> |
3 <script src="../../resources/testharness.js"></script> | 3 <script src="../../resources/testharness.js"></script> |
4 <script src="../../resources/testharnessreport.js"></script> | 4 <script src="../../resources/testharnessreport.js"></script> |
5 <script src="../../html/resources/event-handlers.js"></script> | 5 <script src="../../html/resources/event-handlers.js"></script> |
6 <script> | 6 <script> |
7 // attribute list from WHATWG HTML Living Standard r8389 | 7 // attribute list from WHATWG HTML Living Standard r8389 |
8 [ | 8 [ |
9 "onabort", | 9 "onabort", |
10 "onblur", | 10 "onblur", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 "onstalled", | 62 "onstalled", |
63 "onsubmit", | 63 "onsubmit", |
64 "onsuspend", | 64 "onsuspend", |
65 "ontimeupdate", | 65 "ontimeupdate", |
66 "ontoggle", | 66 "ontoggle", |
67 "ontouchcancel", | 67 "ontouchcancel", |
68 "ontouchend", | 68 "ontouchend", |
69 "ontouchmove", | 69 "ontouchmove", |
70 "ontouchstart", | 70 "ontouchstart", |
71 "onvolumechange", | 71 "onvolumechange", |
72 "onwaiting" | 72 "onwaiting", |
| 73 "onwheel" |
73 ].forEach(function(attribute) { | 74 ].forEach(function(attribute) { |
74 test(function() { | 75 test(function() { |
75 assert_false(attribute in getObject("Element")); | 76 assert_false(attribute in getObject("Element")); |
76 }, "No Element." + attribute); | 77 }, "No Element." + attribute); |
77 testSet("HTMLElement", attribute); | 78 testSet("HTMLElement", attribute); |
78 testEnumerate("HTMLElement", attribute); | 79 testEnumerate("HTMLElement", attribute); |
79 testReflect("HTMLElement", attribute); | 80 testReflect("HTMLElement", attribute); |
80 testSet("SVGElement", attribute); | 81 testSet("SVGElement", attribute); |
81 testEnumerate("SVGElement", attribute); | 82 testEnumerate("SVGElement", attribute); |
82 testReflect("SVGElement", attribute); | 83 testReflect("SVGElement", attribute); |
83 testSet("Document", attribute); | 84 testSet("Document", attribute); |
84 testEnumerate("Document", attribute); | 85 testEnumerate("Document", attribute); |
85 testSet("Window", attribute); | 86 testSet("Window", attribute); |
86 testEnumerate("Window", attribute); | 87 testEnumerate("Window", attribute); |
87 }); | 88 }); |
88 </script> | 89 </script> |
89 <div id="log"></div> | 90 <div id="log"></div> |
OLD | NEW |