- From: samweinig <notifications@github.com>
- Date: Tue, 06 Jun 2017 22:22:49 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 7 June 2017 05:23:21 UTC
I'm not sure I follow exactly what steps you take to there. Is the crux of argument in [[DefineOwnProperty]]'s step 2.2: "If O implements an interface with the [OverrideBuiltins] extended attribute or O does not have an own property named P, then:" Where, in second call to Object.defineProperty in your example, neither of the conditions in this clause hold? (e.g. it is not [OverrideBuiltins] and O **does** have an own property named P). Since the "have an own property" part is not linked to a specific algorithm, I took that to mean (now I feel foolish for this interpretation) that meant non-named getter properties. And that is why if you look at a ToT WebKit, it will have the same result as the other browsers. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/366#issuecomment-306689819
Received on Wednesday, 7 June 2017 05:23:21 UTC