This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Right now only [[GetOwnProperty]] is defined, the spec should probably define both [[DefineOwnProperty]] and [[Delete]] too. The object is extensible, so need to define what happens for new properties. The existing properties are not writable but they are configurable, so need to define what happens if they're made writable and then set.
I defined [[DefineOwnProperty]] in bug 21929, and [[Delete]] here: http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.685;r2=1.686;f=h http://dev.w3.org/cvsweb/2006/webapi/WebIDL/v1.xml.diff?r1=1.127;r2=1.128;f=h
Er, I get bug 21929 comment 2 actually belongs here...
(In reply to Boris Zbarsky from bug 21929 comment #2) > The [[Delete]] defined in the spec now works for ES5 but not ES6: in ES6 > [[Delete]] just returns a boolean indicating success or not and the caller > throws or not based on strict mode... OK, fixed: https://github.com/heycam/webidl/commit/a4e5e47940bd7fb1e0ea9408a4d45a508c543af4