dom/xhr/tests/test_sync_xhr_document_write_with_iframe.html
author moz-wptsync-bot <wptsync@mozilla.com>
Mon, 16 Apr 2018 18:38:41 +0000
changeset 1486024 3a644abd5eaa108f67471c0aae4fb4a424ea41bf
parent 892530 659a966e70ea3eb9368a13a3ade2c9df473fba2c
child 1702735 dd3558a8f7ae3211ac8a9ad5f87196d6a00e7a95
child 1950293 c01a4a3db245ee68350ffc7452652b24628eeb1a
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>
  <title>Test for Bug </title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script>
function runTest() {
  let w = window.open('file_sync_xhr_document_write_with_iframe.html');
  addEventListener('message', evt => {
    is(evt.data, 'DONE');
    w.close();
    SimpleTest.finish();
  }, { once: true });
}

SimpleTest.waitForExplicitFinish();
addLoadEvent(runTest);
</script>
</pre>
</body>
</html>