Files
sousa-gecko/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-attributes-window-frameset.html
T
Blink WPT Bot 75a7b15e78 Bug 2022429 [wpt PR 58374] - Mark event-handler-attribute tests as long timeout, a=testonly
Automatic update from web-platform-tests
Mark event-handler-attribute tests as long timeout (#58374)

These tests are taking too long and timing out, so adding this meta tag
might help the test runner give them more time.

Bug: 487717173
Change-Id: I6cc0bbc172f5d2ed09eefca2df95b261f3d90e20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7644177
Reviewed-by: Fergal Daly <fergal@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1596697}

Co-authored-by: Joey Arhar <jarhar@chromium.org>
--

wpt-commits: ec12a30f3cc91c5fc490fea41c1f6cd6c80c235b
wpt-pr: 58374
2026-03-16 10:11:12 +00:00

33 lines
1.2 KiB
HTML

<!DOCTYPE html>
<meta charset=utf-8>
<meta name=timeout content=long>
<title>event handlers: reflection from window (frameset)</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 }) => {
const altBody = document.createElement("frameset");
runEventHandlerReflectionTest(shadowedHandlers, notShadowedHandlers, "window", window, document.body, altBody, "window", "body", "alternative body");
// 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>