Closed Bug 1449197 Opened 7 years ago Closed 5 years ago

DefineSelfHostedProperty sets the wrong args-count for setters

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1632561
Tracking Status
firefox61 --- affected

People

(Reporter: anba, Unassigned)

Details

https://searchfox.org/mozilla-central/rev/49cc27555d5b7ed2eb06baf156693dd578daa06f/js/src/jsapi.cpp#3195-3196 The |nargs| parameter must be 1 instead of 0 for setter functions. (We currently don't have any self-hosted setters, so this code path is not used right now.)
Priority: -- → P3

Fixed in bug 1632561.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.