Closed
Bug 609722
Opened 14 years ago
Closed 14 years ago
Function.prototype.constructor should use stub getter/setter
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 583262
People
(Reporter: Waldo, Assigned: Waldo)
Details
Attachments
(1 file)
2.40 KB,
patch
|
Details | Diff | Splinter 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)
Comment 1•14 years ago
|
||
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
Comment 2•14 years ago
|
||
Wrong bug.
Updated•14 years ago
|
Attachment #488311 -
Flags: review?(jorendorff)
You need to log in
before you can comment on or make changes to this bug.
Description
•