Update web-platform-tests to revision 401d9618fcda9dfbeac49b8055df98386f6118f1

This commit is contained in:
WPT Sync Bot 2020-06-23 08:20:40 +00:00
parent c76d1318f3
commit 260441296f
139 changed files with 1277 additions and 724 deletions

View file

@ -1 +0,0 @@
import { b } from "./nested-imports-b.js";

View file

@ -1,2 +0,0 @@
import { c } from "./nested-imports-c.js";
export const b = "b";

View file

@ -1,2 +0,0 @@
import { d } from "./nested-imports-d.js";
export const c = "c";

View file

@ -1,3 +0,0 @@
import { e } from "./nested-imports-e.js";
import "./resources/delayed-modulescript.py";
export const d = "d";

View file

@ -1,2 +0,0 @@
import { f } from "./nested-imports-f.js";
export const e = "e";

View file

@ -1,2 +0,0 @@
import { g } from "./nested-imports-g.js";
export const f = "f";

View file

@ -1,2 +0,0 @@
import { h } from "./nested-imports-h.js";
export const g = "g";

View file

@ -1,2 +0,0 @@
import { c } from "./nested-imports-c.js";
export const h = "h";

View file

@ -1,29 +0,0 @@
<!DOCTYPE html>
<title>Test imports under more than 3 levels in different modules</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
setup({ allow_uncaught_exception: true });
window.log = [];
const test_load = async_test("should load all modules successfully");
window.addEventListener(
"load",
test_load.step_func_done((ev) => {
assert_equals(log.length, 2);
assert_equals(log[0], 1);
assert_equals(log[1], 2);
})
);
function unreachable() {
log.push("unexpected");
}
</script>
<script type="module" src="./nested-imports-a.js" onerror="unreachable()"
onload="log.push(1)"></script>
<script type="module" src="./nested-imports-e.js" onerror="unreachable()"
onload="log.push(2)"></script>