Closed Bug 735936 Opened 13 years ago Closed 13 years ago

"Assertion failure: !(flags & (0x40 | 0x80)),"

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Unassigned)

Details

(Keywords: assertion, regression, testcase, Whiteboard: js-triage-done)

Attachments

(1 file)

Attached file stack
f = (function() { "use strict"; [arguments] = eval() }) asserts js debug shell on m-c changeset 7e713db43d8d without any CLI arguments at Assertion failure: !(flags & (0x40 | 0x80)), autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 87904:bd71047c9b4d user: Luke Wagner date: Tue Feb 07 12:34:29 2012 -0800 summary: Bug 724790 - get rid of the hasOverriddenArgs funny business (r=waldo)
The bug here predates bug 724790, bug 724790 just added an assert (at Waldo's suggestion) that caught it. Waldo: seems like destructuring needs to check for a strict-mode error?
No longer blocks: 724790
Whiteboard: js-triage-needed → js-triage-done
Also, why in the world is the destructoring code emitting qnamepart/enumelem...
Seems fixed by bug 740446. autoBisect shows this is probably related to the following changeset: The first good revision is: changeset: 91358:fa24b215d49e user: Luke Wagner date: Mon Apr 02 08:58:30 2012 -0700 summary: Bug 740446 - make 'arguments' more like a normal local binding (r=bhackett)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Yeah, the destructuring code appears to need strict mode error handling. :-\ Filed bug 757273 on that.
Automatically extracted testcase for this bug was committed: https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: