Re: @@symbol hooks and cross domain frames

On Thu, Jul 16, 2015 at 5:17 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 7/16/15 8:13 PM, Boris Zbarsky wrote:
>
>> I'm just suggesting we use this exact mechanism for @@isConcatSpreadable
>>
>
> Or just explicitly check for @@isConcatSpreadable in [[GetOwnProperty]]
> there and return a value descriptor with the value undefined, really.


But [[Get]] says:

  Invoke [[GetOwnProperty]]. If there is a getter, invoke it. Otherwise,
throw.

And [[Get]] is the way the spec gets ahold of @@isConcatSpreadable, not a
direct [[GetOwnProperty]] call. Perhaps that part of the new spec is just
in need of realignment?

- Adam

Received on Friday, 17 July 2015 00:20:31 UTC