summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/assets/es6
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /remote/test/puppeteer/test/assets/es6
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/test/puppeteer/test/assets/es6')
-rw-r--r--remote/test/puppeteer/test/assets/es6/.eslintrc5
-rw-r--r--remote/test/puppeteer/test/assets/es6/es6import.js2
-rw-r--r--remote/test/puppeteer/test/assets/es6/es6module.js1
-rw-r--r--remote/test/puppeteer/test/assets/es6/es6pathimport.js2
4 files changed, 10 insertions, 0 deletions
diff --git a/remote/test/puppeteer/test/assets/es6/.eslintrc b/remote/test/puppeteer/test/assets/es6/.eslintrc
new file mode 100644
index 0000000000..1903e176f5
--- /dev/null
+++ b/remote/test/puppeteer/test/assets/es6/.eslintrc
@@ -0,0 +1,5 @@
+{
+ "parserOptions": {
+ "sourceType": "module"
+ }
+} \ No newline at end of file
diff --git a/remote/test/puppeteer/test/assets/es6/es6import.js b/remote/test/puppeteer/test/assets/es6/es6import.js
new file mode 100644
index 0000000000..9aac2d4d64
--- /dev/null
+++ b/remote/test/puppeteer/test/assets/es6/es6import.js
@@ -0,0 +1,2 @@
+import num from './es6module.js';
+window.__es6injected = num;
diff --git a/remote/test/puppeteer/test/assets/es6/es6module.js b/remote/test/puppeteer/test/assets/es6/es6module.js
new file mode 100644
index 0000000000..7a4e8a723a
--- /dev/null
+++ b/remote/test/puppeteer/test/assets/es6/es6module.js
@@ -0,0 +1 @@
+export default 42;
diff --git a/remote/test/puppeteer/test/assets/es6/es6pathimport.js b/remote/test/puppeteer/test/assets/es6/es6pathimport.js
new file mode 100644
index 0000000000..eb17a9a3d1
--- /dev/null
+++ b/remote/test/puppeteer/test/assets/es6/es6pathimport.js
@@ -0,0 +1,2 @@
+import num from './es6/es6module.js';
+window.__es6injected = num;