Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /html/webappapis/scripting/events/event-handler-onmove-01.tentative.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Window Object 'onmove'</title>
<link rel="author" title="Sonja Laurila" href="mailto:laurila@google.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script>
promise_test(async t => {
var onMoveCalled = false;
window.onmove = (event) => { onMoveCalled = true; }
window.dispatchEvent(new Event('move'));
assert_true(onMoveCalled, "The onMove handler has been executed.");
}, "Window move event");
</script>