Remove proto argument from NewObjectWithClassProto

RESOLVED WONTFIX

Status

()

Core
JavaScript Engine
RESOLVED WONTFIX
2 years ago
2 years ago

People

(Reporter: evilpie, Assigned: evilpie)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

2 years ago
We already have NewObjectWithGivenProto, so you should always get the ClassProto instead of calling out from NewObjectWithClassProtoCommon when somebody passes a proto.
(Assignee)

Updated

2 years ago
Assignee: nobody → evilpies
(Assignee)

Comment 1

2 years ago
This seems like a lost cause and maybe this isn't too bad. Duplicating this logic in all the callers is probably worse.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.