From 100c6a7e95b8e9624fc43fabc96d88070635d1ef Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 10 Jul 2018 11:22:25 +0200 Subject: Bug 1340865 - New tests. (not hooked up) --- .../create-module-script.html.ini | 2 ++ .../the-script-element/create-module-script.html | 25 ++++++++++++++++++++++ .../the-script-element/support/module.js | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 testing/web-platform/mozilla/meta/html/semantics/scripting-1/the-script-element/create-module-script.html.ini create mode 100644 testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html create mode 100644 testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js (limited to 'testing') diff --git a/testing/web-platform/mozilla/meta/html/semantics/scripting-1/the-script-element/create-module-script.html.ini b/testing/web-platform/mozilla/meta/html/semantics/scripting-1/the-script-element/create-module-script.html.ini new file mode 100644 index 0000000000..007349f1aa --- /dev/null +++ b/testing/web-platform/mozilla/meta/html/semantics/scripting-1/the-script-element/create-module-script.html.ini @@ -0,0 +1,2 @@ +[create-module-script.html] + prefs: [dom.moduleScripts.enabled:true] diff --git a/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html b/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html new file mode 100644 index 0000000000..44337a0217 --- /dev/null +++ b/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html @@ -0,0 +1,25 @@ + + +Insert non-async module script + + + + diff --git a/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js b/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js new file mode 100644 index 0000000000..e4d6289d59 --- /dev/null +++ b/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js @@ -0,0 +1,2 @@ +export default 42; +moduleRan = true; -- cgit v1.2.3