<!DOCTYPE html>
<title>HTMLBodyElement and HTMLFrameSetElement event handler test</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/event-handlers.js"></script>
<script>
// attribute list from WHATWG HTML Living Standard r8389
[
"onblur",
"onerror",
"onfocus",
"onload",
"onresize",
"onscroll"
].forEach(function(attribute) {
testSet("HTMLBodyElement", attribute);
testEnumerate("HTMLBodyElement", attribute);
testReflect("HTMLBodyElement", attribute);
testForwardToWindow("HTMLBodyElement", attribute);
testSet("HTMLFrameSetElement", attribute);
testEnumerate("HTMLFrameSetElement", attribute);
testReflect("HTMLFrameSetElement", attribute);
testForwardToWindow("HTMLFrameSetElement", attribute);
});
</script>
<div id="log"></div>