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

Re: Defining a [[Set]] internal method for platform objects

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 10 Feb 2015 23:14:57 -0500
Message-ID: <54DAD741.5070803@mit.edu>
To: Domenic Denicola <d@domenic.me>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 2/10/15 6:01 PM, Domenic Denicola wrote:
> - However, https://www.w3.org/Bugs/Public/show_bug.cgi?id=25025 specifically needs to distinguish the cases of Receiver === O and Receiver !== O.
> - Thus we must add custom logic to [[Set]] instead of just [[DefineOwnProperty]] because only [[Set]] gets a receiver parameter.

Yep.  Also, to fix https://www.w3.org/Bugs/Public/show_bug.cgi?id=26521 
we need to pretend like a property that needs to be there for gets is 
not there for sets, which is only possible by doing a custom [[Set]] or 
[[Get]]; trying to do it all via [[GetOwnProperty]] can't work.  And 
since we kinda want a custom [[Set]] anyway for 
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25025 we're just going to 
do that and use the default [[Get]].

Received on Wednesday, 11 February 2015 04:15:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC