<!DOCTYPE html>
<meta charset=utf-8>
<title>event handlers</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<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>
<script>
setup({ explicit_done: true });

handlersListPromise.then(({ shadowedHandlers, notShadowedHandlers }) => {
  eventHandlerTest(shadowedHandlers, notShadowedHandlers, "frameset");

  // The testharness framework appends test results to document.body,
  // show test results in frame after test done.
  add_completion_callback(() => {
    const log_elem = document.getElementById("log");
    const frame_elem = document.querySelector("frame");
    if (log_elem) {
      frame_elem.contentDocument.body.innerHTML = log_elem.innerHTML;
    }
  });

  done();
});
</script>
<frameset>
  <frame src="/common/blank.html" />
</frameset>
