summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework/test/code_reload_1.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /devtools/client/framework/test/code_reload_1.js
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/framework/test/code_reload_1.js')
-rw-r--r--devtools/client/framework/test/code_reload_1.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/devtools/client/framework/test/code_reload_1.js b/devtools/client/framework/test/code_reload_1.js
new file mode 100644
index 0000000000..e6eecb09f3
--- /dev/null
+++ b/devtools/client/framework/test/code_reload_1.js
@@ -0,0 +1,16 @@
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+// Original source code for the inline source map test.
+// The generated file was made with
+// webpack --devtool source-map code_reload_1.js code_bundle_reload_1.js
+// perl -pi -e 's/code_bundle_reload_1.js.map/sjs_code_bundle_reload_map.sjs/' \
+// code_bundle_reload_1.js
+
+"use strict";
+
+function f() {
+ console.log("The first version of the script");
+}
+
+f();