Closed Bug 1259496 Opened 9 years ago Closed 1 year ago

IsArrayConstructor() in jsarray.cpp is written unintuitively

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: efaust, Unassigned)

Details

IsArrayConstructor checks the native of the JSFunction, rather than by checking to see that it's /actually/ the global's Array constructor. This seems a holdover from days gone by. We can rewrite this in a more intuitive, but still compartment independent way.
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.