summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/tracelogger/bug1300515.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/tracelogger/bug1300515.js')
-rw-r--r--js/src/jit-test/tests/tracelogger/bug1300515.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/tracelogger/bug1300515.js b/js/src/jit-test/tests/tracelogger/bug1300515.js
new file mode 100644
index 000000000..3f037c932
--- /dev/null
+++ b/js/src/jit-test/tests/tracelogger/bug1300515.js
@@ -0,0 +1,15 @@
+
+
+function test1() {
+ test();
+}
+
+function test() {
+ var du = new Debugger();
+ du.setupTraceLoggerScriptCalls();
+ du.startTraceLogger();
+}
+
+var du = new Debugger();
+if (typeof du.setupTraceLoggerScriptCalls == "function")
+ test1();