Re: [[DefineOwnProperty]] (P, Desc)

2014-11-30 Thread Tom Van Cutsem
2014-11-27 12:05 GMT+01:00 Axel Rauschmayer a...@rauschma.de: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc Quote (note typo in second item): 1. A property cannot be added as or modified to be

Re: Is `List` really a specification type?

2014-11-30 Thread Tom Van Cutsem
2014-11-27 17:12 GMT+01:00 Claude Pache claude.pa...@gmail.com: Lists are indeed specification-only types, and the result of the `[[OwnPropertyKeys]]` internal method call is never directly observed by the programmer: it is only used as an intermediate result within algorithms. A List is, I

Re: 9.5.8 [[Get]] (P, Receiver)

2014-11-30 Thread Tom Van Cutsem
2014-11-27 12:32 GMT+01:00 Axel Rauschmayer a...@rauschma.de: Suggestion: mention in both cases that the property is an own property of the target. +1. It doesn't hurt to be too explicit in stating these invariants. It may help Allen if you can repost this as a bug in the ecmascript bug

Re: Question regarding duplicate __proto__ properties

2014-11-30 Thread Allen Wirfs-Brock
On Nov 29, 2014, at 3:38 PM, Nicholas C. Zakas wrote: In Rev 28, B.3.1 it states: It is a Syntax Error if PropertyNameList of PropertyDefinitionList contains any duplicate entries for__proto__ and at least two of those entries were obtained from productions of the formPropertyDefinition :

Re: Removal of WeakMap/WeakSet clear

2014-11-30 Thread Allen Wirfs-Brock
On Nov 28, 2014, at 4:21 AM, Andreas Rossberg wrote: On 27 November 2014 at 19:40, Allen Wirfs-Brock al...@wirfs-brock.com wrote: On Nov 27, 2014, at 1:17 AM, Andreas Rossberg wrote: The discussion here still makes various untested assumptions about the transposed representation. With

Re: Question regarding duplicate __proto__ properties

2014-11-30 Thread Michał Wadas
Should it be possible to have property named __proto__ which is inaccessible in modern implementations? 30 lis 2014 18:53 Allen Wirfs-Brock al...@wirfs-brock.com napisał(a): On Nov 29, 2014, at 3:38 PM, Nicholas C. Zakas wrote: In Rev 28, B.3.1 it states: - It is a Syntax Error if

Figuring out the behavior of WindowProxy in the face of non-configurable properties

2014-11-30 Thread Boris Zbarsky
[ccing public-script-coord because I'm not sure what list is best for this; mostly I'm looking for feedback from other UA implementors.] We really need to create an actual specification for WindowProxy. One of the serious problems is what to do with non-configurable properties. Consider

Re: 9.5.8 [[Get]] (P, Receiver)

2014-11-30 Thread Axel Rauschmayer
Will do in a few days (the other one, too). Too busy ATM. On 30 Nov 2014, at 14:32 , Tom Van Cutsem tomvc...@gmail.com wrote: 2014-11-27 12:32 GMT+01:00 Axel Rauschmayer a...@rauschma.de mailto:a...@rauschma.de: Suggestion: mention in both cases that the property is an own property of the

Re: Figuring out the behavior of WindowProxy in the face of non-configurable properties

2014-11-30 Thread Mark S. Miller
On Sun, Nov 30, 2014 at 12:21 PM, Boris Zbarsky bzbar...@mit.edu wrote: [ccing public-script-coord because I'm not sure what list is best for this; mostly I'm looking for feedback from other UA implementors.] We really need to create an actual specification for WindowProxy. One of the

Re: Figuring out the behavior of WindowProxy in the face of non-configurable properties

2014-11-30 Thread Mark Miller
On Sun, Nov 30, 2014 at 6:12 PM, Mark S. Miller erig...@google.com wrote: [...] Put another way, if this invariant is preserved by WindowProxy, then Should be: is not preserved by or is violated by anyone else seeking to create another object that violates this invariant can create a Proxy