| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>WindowEventHandlers test</title> | 2 <title>WindowEventHandlers 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="script-tests/event-handlers.js"></script> | 5 <script src="script-tests/event-handlers.js"></script> |
| 6 <script> | 6 <script> |
| 7 // attribute list from WHATWG HTML Living Standard r8239 | 7 // attribute list from WHATWG HTML Living Standard r8389 |
| 8 [ | 8 [ |
| 9 "onafterprint", | 9 "onafterprint", |
| 10 "onbeforeprint", | 10 "onbeforeprint", |
| 11 "onbeforeunload", | 11 "onbeforeunload", |
| 12 "onhashchange", | 12 "onhashchange", |
| 13 "onmessage", | 13 "onmessage", |
| 14 "onoffline", | 14 "onoffline", |
| 15 "ononline", | 15 "ononline", |
| 16 "onpagehide", | 16 "onpagehide", |
| 17 "onpageshow", | 17 "onpageshow", |
| 18 "onpopstate", | 18 "onpopstate", |
| 19 "onresize", | |
| 20 "onstorage", | 19 "onstorage", |
| 21 "onunload" | 20 "onunload" |
| 22 ].forEach(function(attribute) { | 21 ].forEach(function(attribute) { |
| 23 testSet("Window", attribute); | 22 testSet("Window", attribute); |
| 24 testEnumerate("Window", attribute); | 23 testEnumerate("Window", attribute); |
| 25 testSet("HTMLBodyElement", attribute); | 24 testSet("HTMLBodyElement", attribute); |
| 26 testEnumerate("HTMLBodyElement", attribute); | 25 testEnumerate("HTMLBodyElement", attribute); |
| 27 testReflect("HTMLBodyElement", attribute); | 26 testReflect("HTMLBodyElement", attribute); |
| 28 testForwardToWindow("HTMLBodyElement", attribute); | 27 testForwardToWindow("HTMLBodyElement", attribute); |
| 29 testSet("HTMLFrameSetElement", attribute); | 28 testSet("HTMLFrameSetElement", attribute); |
| 30 testEnumerate("HTMLFrameSetElement", attribute); | 29 testEnumerate("HTMLFrameSetElement", attribute); |
| 31 testReflect("HTMLFrameSetElement", attribute); | 30 testReflect("HTMLFrameSetElement", attribute); |
| 32 testForwardToWindow("HTMLFrameSetElement", attribute); | 31 testForwardToWindow("HTMLFrameSetElement", attribute); |
| 33 }); | 32 }); |
| 34 </script> | 33 </script> |
| 35 <div id="log"></div> | 34 <div id="log"></div> |
| OLD | NEW |