Closed Bug 651218 Opened 10 years ago Closed 10 years ago

TI: SIGTRAP with catch/yield

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 646267

People

(Reporter: decoder, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, testcase)

The following testcase causes a trap on TI revision d78eef12a329 (run with -m -n -a), tested on 32 bit:

function expectThrowError(errorCtor, fun) {
    try {
        fun()
    } catch (e) {}
}
function expectThrowTypeError(fun)
expectThrowError(TypeError, fun);
expectThrowError(SyntaxError, function () {});
expectThrowError(SyntaxError, function () {});
expectThrowError(SyntaxError, function () {});
expectThrowError(RangeError, function () {});
expectThrowTypeError(function () { yield });
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 646267
A testcase for this bug was already added in the original bug (bug 646267).
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.