dom/media/webaudio/test/test_nodeCreationDocumentGone.html
author Julien Cristau <jcristau@mozilla.com>
Mon, 20 Mar 2023 10:45:48 +0000
changeset 657187 caabe78a05aef594369db335bb9d1098ec328c33
parent 469641 ba6f655fd68963530c866d0d4a48c3db3d307777
permissions -rw-r--r--
Bug 1822594 - remove webrender test schedule. r=jmaher,ahal Since webrender was enabled by default this was causing pushes with webrender-only changes to wrongly optimize out most tests. Differential Revision: https://phabricator.services.mozilla.com/D172778

<!DOCTYPE HTML>
<html>
<head>
  <title>Test whether we can create an AudioContext interface</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<pre id="test">
<script class="testbody" type="text/javascript">

SimpleTest.requestCompleteLog();
SimpleTest.waitForExplicitFinish();

var a = window.open("file_nodeCreationDocumentGone.html");
a.onbeforeunload = function() {
  setTimeout(function(){
    try {
      a.context.createScriptProcessor(512, 1, 1);
    } catch(e) {
      ok (true,"got exception");
    }
    setTimeout(function() {
      ok (true,"no crash");
      SimpleTest.finish();
    }, 0);
  }, 0);
}


</script>
</pre>
</body>
</html>