dom/webauthn/tests/test_webauthn_get_assertion_dead_object.html
author Alexis Beingessner <a.beingessner@gmail.com>
Thu, 10 Oct 2019 23:10:28 +0000
changeset 552383 b6d82b1a6b027461055a92f052d6d0511086a5bb
parent 528828 c83490ca7185506ddf5e9828f8159930c03d15a0
permissions -rw-r--r--
Bug 1587155 - Block all hardware acceleration for AMD driver 22.19.162.4. r=jrmuizel a=lizzard Driver's Haunted. Differential Revision: https://phabricator.services.mozilla.com/D48900

<!DOCTYPE html>
<meta charset=utf-8>
<head>
  <title>Test for GetAssertion on dead object</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>

  <h1>Test for GetAssertion on dead object</h1>
  <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1483905">Mozilla Bug 1483905</a>

  <script class="testbody" type="text/javascript">
    "use strict";
    SimpleTest.waitForExplicitFinish();
    SimpleTest.requestFlakyTimeout(
      "Due to the nature of this test, there's no way for the window we're opening to signal " +
      "that it's done (the `document.writeln('')` is essential and basically clears any state " +
      "we could use). So, we have to wait at least 15 seconds for the webauthn call to time out.");
    let win = window.open("https://example.com/tests/dom/webauthn/tests/get_assertion_dead_object.html");
    setTimeout(() => {
      win.close();
      SimpleTest.finish();
    }, 20000);
  </script>

</body>
</html>