summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/code_breakpoints-break-on-last-line-of-script-on-reload.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/code_breakpoints-break-on-last-line-of-script-on-reload.js')
-rw-r--r--devtools/client/debugger/test/mochitest/code_breakpoints-break-on-last-line-of-script-on-reload.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/code_breakpoints-break-on-last-line-of-script-on-reload.js b/devtools/client/debugger/test/mochitest/code_breakpoints-break-on-last-line-of-script-on-reload.js
new file mode 100644
index 000000000..839f22883
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/code_breakpoints-break-on-last-line-of-script-on-reload.js
@@ -0,0 +1,6 @@
+debugger;
+var a = (function () {
+ var b = 9;
+ console.log("x", b);
+ return b;
+})();