Closed Bug 609722 Opened 14 years ago Closed 14 years ago

Function.prototype.constructor should use stub getter/setter

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 583262

People

(Reporter: Waldo, Assigned: Waldo)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
It's currently implemented with CheckCtor{G,S}etAccess, ostensibly for security reasons (which appear to only have been valid when cloning a function didn't swap in as [[Prototype]] the Function.prototype of its creator's global object).  Now, this seems unnecessary (and if actually necessary, the wrong way to accomplish the goal) in the world of compartment-based security, and Blake agrees.
Attachment #488311 - Flags: review?(jorendorff)
This is a duplicate of bug 610350, which contains the same patch and some discussion. But yeah, let's do it now...
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Wrong bug.
Attachment #488311 - Flags: review?(jorendorff)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: