chromium/third_party/blink/web_tests/external/wpt/html/webappapis/scripting/events/event-handler-onmove-01.tentative.html

<!DOCTYPE html>
<title>Window Object 'onmove'</title>
<link rel="author" title="Sonja Laurila" href="mailto:[email protected]">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#handler-window-onmove">
<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>