W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2015

Re: @@symbol hooks and cross domain frames

From: Adam Klein <adamk@chromium.org>
Date: Thu, 16 Jul 2015 17:20:00 -0700
Message-ID: <CAEvLGcJ2Ccr7nDUzaDXWmiR+2igFCXQOJ86s_vqti_SEK-+j9g@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
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

This archive was generated by hypermail 2.3.1 : Friday, 17 July 2015 00:20:31 UTC