https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 21723c60a58b1be1c940a2d284bdcd54b34715cd authored by Jarryd on 13 December 2018, 18:38:01 UTC
Cookie Store: Test cross-origin frames + service workers.
Tip revision: 21723c6
element-request-fullscreen-dialog-manual.html
<!DOCTYPE html>
<title>Element#requestFullscreen() for dialog element</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<dialog></dialog>
<script>
async_test(t => {
  var dialog = document.querySelector("dialog");
  assert_true(dialog instanceof HTMLDialogElement);
  trusted_request(t, dialog);
  document.onfullscreenchange = t.unreached_func("fullscreenchange event");
  document.onfullscreenerror = t.step_func_done();
});
</script>
back to top