This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20737 - "Call the [[DefineOwnProperty]] internal method ..."
Summary: "Call the [[DefineOwnProperty]] internal method ..."
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 18:25 UTC by Marcos Caceres
Modified: 2016-10-22 15:59 UTC (History)
5 users (show)

See Also:


Attachments

Description Marcos Caceres 2013-01-22 18:25:37 UTC
http://dev.w3.org/2006/webapi/WebIDL/#es-sequence

[[
Call the [[DefineOwnProperty]] internal method on A with property name P, descriptor { [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true, [[Value]]: E } and Boolean flag false.
]]

ES6 no longer seems to have the ability to set the throws flag for [[DefineOwnProperty]]:

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-8.3.10
Comment 1 Boris Zbarsky 2013-01-22 18:27:44 UTC
Lots of WebIDL needs to be recast in terms of the ES6 MOP... once that firms up.
Comment 2 Marcos Caceres 2013-01-22 18:36:07 UTC
(In reply to comment #1)
> Lots of WebIDL needs to be recast in terms of the ES6 MOP... once that firms
> up.

Sure. Should I bother creating bugs for those as I find them or don't bother?
Comment 3 Boris Zbarsky 2013-01-22 18:38:50 UTC
Not sure, but I suspect most uses of [[something]] will need changes...
Comment 4 Cameron McCormack 2013-01-24 06:17:40 UTC
Yeah, I'm going to wait a while to finish converting everything to ES6.  (Note that http://dev.w3.org/2006/webapi/WebIDL/v1.html still references ES5, though it doesn't include some of the newer Web IDL features.)
Comment 5 Marcos Caceres 2013-01-24 16:33:47 UTC
(In reply to comment #4)
> Yeah, I'm going to wait a while to finish converting everything to ES6.

Fair enough. 
 
> (Note that http://dev.w3.org/2006/webapi/WebIDL/v1.html still references
> ES5, though it doesn't include some of the newer Web IDL features.)

Yeah, I'm mostly interested in keeping up with the latest and greatest.
Comment 6 Domenic Denicola 2016-10-22 15:59:34 UTC
This particular instance of outdatedness is now fixed, and in fact, all refernces to [[DefineOwnProperty]] seem to be correct. Although there are lots more ES6 MOP updates waiting, they are happening incrementally.