Closed
Bug 541212
Opened 15 years ago
Closed 15 years ago
Allow setters to be called on sealed objects
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 492849
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | beta7+ |
People
(Reporter: jorendorff, Assigned: jimb)
References
(Depends on 1 open bug)
Details
We want to align JS_SealObject with ES5 Object.freeze. This is a first step needed by js-ctypes.
| Reporter | ||
Updated•15 years ago
|
| Reporter | ||
Comment 1•15 years ago
|
||
See bug 492845, ES5: Implement Object.seal().
Comment 2•15 years ago
|
||
This should fall out of ES5 extensibility work.
Assignee: jorendorff → jwalden+bmo
Depends on: 492849
Updated•15 years ago
|
blocking2.0: --- → beta5+
Updated•15 years ago
|
Assignee: jwalden+bmo → jim
| Assignee | ||
Comment 4•15 years ago
|
||
The patch for bug 492849 seems to make this work: setters on (say) JSPROP_SHARED|JSPROP_PERMANENT attributes found on the prototype get called even when the inheriting object is NOT_EXTENSIBLE.
This does cause some new failures, as outlined in bug 598225.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•