summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1106164.js
blob: 7075134ddaf988b352285ac350c55879805aae19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |jit-test| error: ReferenceError
var g = newGlobal({newCompartment: true});
g.parent = this;
g.eval("new Debugger(parent).onExceptionUnwind = function () { };");
evaluate("\
        var tokenCodes  = {};\
        tokenCodes.continue = 0;\
        var arr = [\
            (0.E87  ), \
        ];\
        for(var reportCompare   in tokenCodes) {\
            for(var p1 in arr) {\
                if(arr[j  . arr      ++    ] === p) {\
            }\
        }\
    }\
", { noScriptRval : true, isRunOnce: true });