summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework/test/reload/v2
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/framework/test/reload/v2')
-rw-r--r--devtools/client/framework/test/reload/v2/code_bundle_reload.js19
-rw-r--r--devtools/client/framework/test/reload/v2/code_bundle_reload.js.map1
-rw-r--r--devtools/client/framework/test/reload/v2/code_reload_2.js10
-rw-r--r--devtools/client/framework/test/reload/v2/doc_reload.html15
4 files changed, 45 insertions, 0 deletions
diff --git a/devtools/client/framework/test/reload/v2/code_bundle_reload.js b/devtools/client/framework/test/reload/v2/code_bundle_reload.js
new file mode 100644
index 0000000000..c21166ba58
--- /dev/null
+++ b/devtools/client/framework/test/reload/v2/code_bundle_reload.js
@@ -0,0 +1,19 @@
+/******/ (() => {
+ // webpackBootstrap
+ /******/ "use strict";
+ var __webpack_exports__ = {};
+ /*!*****************************!*\
+ !*** ./v2/code_reload_2.js ***!
+ \*****************************/
+ /* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+ function f() {
+ console.log("The second version of the script");
+ }
+
+ f();
+
+ /******/
+})();
+//# sourceMappingURL=code_bundle_reload.js.map
diff --git a/devtools/client/framework/test/reload/v2/code_bundle_reload.js.map b/devtools/client/framework/test/reload/v2/code_bundle_reload.js.map
new file mode 100644
index 0000000000..d28bd1e30c
--- /dev/null
+++ b/devtools/client/framework/test/reload/v2/code_bundle_reload.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"v2/code_bundle_reload.js","mappings":";;;;;;AAAA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA","sources":["webpack://code-reload/./v2/code_reload_2.js"],"sourcesContent":["/* Any copyright is dedicated to the Public Domain.\n http://creativecommons.org/publicdomain/zero/1.0/ */\n\n\"use strict\";\n\nfunction f() {\n console.log(\"The second version of the script\");\n}\n\nf();\n"],"names":[],"sourceRoot":""} \ No newline at end of file
diff --git a/devtools/client/framework/test/reload/v2/code_reload_2.js b/devtools/client/framework/test/reload/v2/code_reload_2.js
new file mode 100644
index 0000000000..f4690279b4
--- /dev/null
+++ b/devtools/client/framework/test/reload/v2/code_reload_2.js
@@ -0,0 +1,10 @@
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+"use strict";
+
+function f() {
+ console.log("The second version of the script");
+}
+
+f();
diff --git a/devtools/client/framework/test/reload/v2/doc_reload.html b/devtools/client/framework/test/reload/v2/doc_reload.html
new file mode 100644
index 0000000000..164e2cd26c
--- /dev/null
+++ b/devtools/client/framework/test/reload/v2/doc_reload.html
@@ -0,0 +1,15 @@
+<!-- Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ -->
+<!doctype html>
+
+<html>
+ <script src="code_bundle_reload.js"></script>
+ <head>
+ <meta charset="utf-8"/>
+ <title>Empty test page 2</title>
+ </head>
+
+ <body>
+ </body>
+
+</html>