Closed Bug 1355200 Opened 8 years ago Closed 8 years ago

Assertion failure: IsConstructor(args.CallArgs::newTarget()) (provided new.target value must be a constructor)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox-esr52 --- wontfix
firefox54 --- wontfix
firefox55 --- wontfix
firefox56 --- fixed

People

(Reporter: anba, Assigned: till)

References

Details

(Keywords: assertion, testcase)

test case: --- var g = newGlobal(); var w = g.eval("Array"); var v = g.eval("() => {}"); var o = Reflect.construct(w, [], v); --- Assertion failure: --- Assertion failure: IsConstructor(args.CallArgs::newTarget()) (provided new.target value must be a constructor), at /home/andre/git/mozilla-central/js/src/vm/Interpreter.cpp:537 --- I'm now wondering if bug 1355016 is more severe than I thought, therefore I'm hiding this bug for the time being.
Group: core-security → javascript-core-security
Till: Is this assertion a potential security problem or simply a correctness issue?
Flags: needinfo?(till)
Keywords: assertion, testcase
Jan, can you get anyone to look at this old bug?
Flags: needinfo?(jdemooij)
Till landed bug 1355016 which should fix this one as well. Till, should we backport this?
Flags: needinfo?(jdemooij)
(In reply to Jan de Mooij [:jandem] from comment #3) > Till landed bug 1355016 which should fix this one as well. Till, should we > backport this? Maybe. I don't see how it could be a security problem, but it's also a very non-risky patch. I'll request uplift once the patch in bug 1355016 has gone to Nightly.
Status: NEW → RESOLVED
Closed: 8 years ago
Depends on: 1355016
Resolution: --- → FIXED
Flags: needinfo?(till)
Assignee: nobody → till
Target Milestone: --- → mozilla56
Group: javascript-core-security → core-security-release
Unhiding based on comment 4
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.