Index: third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/imports.noinline-b.js |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/imports.noinline-b.js b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/imports.noinline-b.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b89c721c5e6233be3de311297daeaf0a8bd5cfe7 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/imports.noinline-b.js |
@@ -0,0 +1,15 @@ |
+ |
+ import { B as B_RENAMED } from "./imports-b.js"; |
+ |
+ test(function () { |
+ assert_equals(B_RENAMED.from, "imports-b.js", "Unexpected B_RENAMED"); |
+ |
+ try |
+ { |
+ B; |
+ assert_unreached("Unexpectedly defined B"); |
+ } |
+ catch (ex) |
+ {} |
+ }, "Import a simple module, renamed"); |
+ |