Update web-platform-tests to revision e426a6933a05bf144eba06a1d4c47ba876a4e2d1

This commit is contained in:
WPT Sync Bot 2019-05-22 10:24:35 +00:00
parent 415b26e4f1
commit 5e5eccabf8
495 changed files with 14920 additions and 784 deletions

View file

@ -0,0 +1,7 @@
<!doctype html>
<meta charset=utf-8>
<script type=module>
document.write("FAIL");
document.close();
</script>
PASS

View file

@ -0,0 +1,17 @@
<!doctype html>
<meta charset=utf-8>
<title>document.write in a module</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
async_test(t => {
const iframe = document.createElement("iframe");
iframe.src = "module-iframe.html";
document.body.appendChild(iframe);
iframe.onerror = t.unreached_func("Error loading iframe");
iframe.onload = t.step_func_done(() => {
assert_equals(iframe.contentDocument.body.textContent, "PASS\n");
});
});
</script>