Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<title>HTMLBodyElement event handlers: reflection from window</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
<script src="resources/event-handler-body.js"></script>
<body>
<script>
setup({ explicit_done: true });
handlersListPromise.then(({ shadowedHandlers, notShadowedHandlers }) => {
const altBody = document.createElement("body");
runEventHandlerReflectionTest(shadowedHandlers, notShadowedHandlers, "window", window, document.body, altBody, "window", "body", "alternative body");
done();
});
</script>