js/src/jit-test/tests/debug/bug967039.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/debug/bug967039.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +var g1 = newGlobal();
     1.5 +var dbg = Debugger(g1);
     1.6 +g1.dbg = dbg;
     1.7 +g1.eval("function foo() { dbg.removeDebuggee(this); }");
     1.8 +g1.eval("function f() { try { throw 3; } catch(e) { foo(); } }\n");
     1.9 +g1.f();

mercurial