Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 // |jit-test| debug
2 setDebug(true);
3 x = "notset";
4 function main() {
5 /* The JSOP_STOP in main. */
6 a = { valueOf: function () { trap(main, 91, "success()"); } };
7 b = "";
8 eval();
9 a + b;
10 x = "failure";
11 }
12 function success() { x = "success"; }
14 main();
15 assertEq(x, "success");