Closed Bug 795830 Opened 12 years ago Closed 11 years ago

Implement seal/freeze/isSealed/isFrozen} traps

Categories

(Core :: JavaScript Engine, defect)

18 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bruant.d, Unassigned)

References

()

Details

Bug 789897 implements the preventExtension traps, but TC39 agreed also to have seal/freeze as well as the reflection methods is{Extensible,Sealed,Frozen} as traps.
Blocks: 703537
Closing as INVALID since the latest consensus [1] seems to be that Object.seal/freeze/isSealed/isFrozen won't have their own trap, but rather use the preventExtensions/defineProperty traps.
Feel free to reopen if consensus changes.

[1] https://mail.mozilla.org/pipermail/es-discuss/2013-March/029277.html
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Summary: Implement seal/freeze/is{Extensible,Sealed,Frozen} traps → Implement seal/freeze/isSealed/isFrozen} traps
You need to log in before you can comment on or make changes to this bug.