diff options
Diffstat (limited to 'js/src/jit-test/tests/tracelogger/bug1282743.js')
-rw-r--r-- | js/src/jit-test/tests/tracelogger/bug1282743.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/tracelogger/bug1282743.js b/js/src/jit-test/tests/tracelogger/bug1282743.js new file mode 100644 index 000000000..7c94863bd --- /dev/null +++ b/js/src/jit-test/tests/tracelogger/bug1282743.js @@ -0,0 +1,14 @@ + +du = new Debugger(); +if (typeof du.setupTraceLogger === "function" && + typeof oomTest === 'function') +{ + du.setupTraceLogger({Scripts: true}); + for (var idx = 0; idx < 1; idx++) { + oomTest(function() { + m = parseModule("x"); + m.declarationInstantiation(); + m.evaluation(); + }) + } +} |