| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>HTMLBodyElement and HTMLFrameSetElement event handler test</title> | 2 <title>HTMLBodyElement and HTMLFrameSetElement event handler 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 r8239 |
| 8 [ | 8 [ |
| 9 "onblur", | 9 "onblur", |
| 10 "onerror", | 10 "onerror", |
| 11 "onfocus", | 11 "onfocus", |
| 12 "onload", | 12 "onload", |
| 13 "onscroll" | 13 "onscroll" |
| 14 ].forEach(function(attribute) { | 14 ].forEach(function(attribute) { |
| 15 testSet("HTMLBodyElement", attribute); | 15 testSet("HTMLBodyElement", attribute); |
| 16 testEnumerate("HTMLBodyElement", attribute); | 16 testEnumerate("HTMLBodyElement", attribute); |
| 17 testReflect("HTMLBodyElement", attribute); | 17 testReflect("HTMLBodyElement", attribute); |
| 18 testForwardToWindow("HTMLBodyElement", attribute); |
| 18 testSet("HTMLFrameSetElement", attribute); | 19 testSet("HTMLFrameSetElement", attribute); |
| 19 testEnumerate("HTMLFrameSetElement", attribute); | 20 testEnumerate("HTMLFrameSetElement", attribute); |
| 20 testReflect("HTMLFrameSetElement", attribute); | 21 testReflect("HTMLFrameSetElement", attribute); |
| 22 testForwardToWindow("HTMLFrameSetElement", attribute); |
| 21 }); | 23 }); |
| 22 </script> | 24 </script> |
| 23 <div id="log"></div> | 25 <div id="log"></div> |
| OLD | NEW |