summaryrefslogtreecommitdiff
path: root/tests/testdata/run/disallow_http_from_https.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/disallow_http_from_https.js')
-rw-r--r--tests/testdata/run/disallow_http_from_https.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdata/run/disallow_http_from_https.js b/tests/testdata/run/disallow_http_from_https.js
new file mode 100644
index 000000000..b8ddff170
--- /dev/null
+++ b/tests/testdata/run/disallow_http_from_https.js
@@ -0,0 +1,2 @@
+// Trying to import "http://", while this file is accessed by "https://"
+import "http://localhost:4545/run/001_hello.js";