Closed Bug 907147 Opened 11 years ago Closed 11 years ago

Assertion failure: type->proto->hasNewType(&JSObject::class_, type), at jsobj.cpp:1423

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: decoder, Assigned: jonco)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

The following testcase asserts on mozilla-central revision b7f636fada9f (run with --fuzzing-safe --ion-eager), built with rooting analysis enabled:


gczeal(6);
function f(x) {}
function jQuery(a, c) {}
jQuery.fn = {};
var e = "x";
for (var i = 0; i < e.length; f++) {
    new function() {
        var o = e[i];
        jQuery.fn[o] = function(f) {}
    };
}
Assignee: general → jcoppeard
Patch as erroneously posted originally to 907135.  Carrying review from there.
Attachment #793388 - Flags: review+
Backed out for assertions:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=daaee7df86ae

remote:   https://hg.mozilla.org/integration/mozilla-inbound/rev/b7fbfd4de77c

When this relands, please can the commit message be relating to the fix, rather than the problem it's fixing? (preferred practice for commits & also in this case, causes false positives on 'Assertion Failure:' in the parser, due to the way buildbot dumps the commit message in the stdout log):-)
https://hg.mozilla.org/mozilla-central/rev/ac03253df279
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: