summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/tracelogger/bug1304641.js
blob: 7ad48b7a4852b1cdaf1a8a5100dd837758da6cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

var du = new Debugger();
if (typeof du.startTraceLogger === "function") {
    var failed = false;
    try {
        newGlobal().startTraceLogger();
        print("z");
    } catch (e) {
        failed = true;
    }

    assertEq(failed, true);
}