Closed Bug 678364 Opened 13 years ago Closed 13 years ago

[jsdbg2] Assertion failure: isFunctionFrame(), at vm/Stack.h:779

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: assertion, testcase)

The following code asserts on jsdbg2 branch (revision 48e43edc8834, options -j -m -a):


var g = newGlobal('new-compartment');
var dbg = new Debugger(g);
dbg.onDebuggerStatement = function (frame) {
    cv = frame.eval("'use strict'; var a = 2; h();");
};
var dbg = new Debugger(g);
dbg.onDebuggerStatement = function (frame) {
    var x = frame.evalWithBindings("wrongSpeling", {    }).throw;
};
dbg.onExceptionUnwind = function (frame, exc) {
    assertEq(frame.evalWithBindings("rightSpelling + three", {}).return ,5);
};
g.eval("(function () { var rightSpelling = 'dependent'; debugger; })();");
Does not assert for me now.
Test required -j, closing as WFM and opening a new bug for this assert.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Blocks: 717417
You need to log in before you can comment on or make changes to this bug.