1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// |jit-test| debug setDebug(true); x = "notset"; function child() { /* JSOP_STOP in parent */ untrap(parent, 10); x = "success"; } function parent() { x = "failure"; } /* JSOP_STOP in parent */ trap(parent, 10, "child()"); parent(); assertEq(x, "success");