dom/xhr/tests/test_temporaryFileBlob.html
author moz-wptsync-bot <wptsync@mozilla.com>
Mon, 16 Apr 2018 18:38:41 +0000
changeset 1486024 3a644abd5eaa108f67471c0aae4fb4a424ea41bf
parent 855737 c634201ba01d846403e692921a44038d2e55817a
child 1702735 dd3558a8f7ae3211ac8a9ad5f87196d6a00e7a95
child 1950293 c01a4a3db245ee68350ffc7452652b24628eeb1a
child 1956438 d21b163ecec8705dd2097069bf25639a790dbdc0
child 1957860 9cf37a1eedc110deeae12043409d09f6a2c15815
permissions -rw-r--r--
Bug 1454380 [wpt PR 8508] - Update wpt metadata, a=testonly wpt-pr: 8508 wpt-type: metadata

<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Test for Bug 1202006</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <script type="application/javascript" src="common_temporaryFileBlob.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
  <script type="application/javascript">

var tests = [
  // from common_temporaryFileBlob.js:
  test_simple,
  test_reuse,
  test_abort,

  test_worker,
  test_worker_reuse,
  test_worker_abort,
];

function next() {
  if (!tests.length) {
    SimpleTest.finish();
    return;
  }

  var test = tests.shift();
  test();
}

SpecialPowers.pushPrefEnv({ "set" : [[ "dom.blob.memoryToTemporaryFile", 1 ]] },
                          next);
SimpleTest.waitForExplicitFinish();

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