- From: Timothy Gu <notifications@github.com>
- Date: Mon, 11 Dec 2017 01:50:11 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 11 December 2017 09:50:34 UTC
The @@unscopable property on interface prototype objects (if it exists) currently has the prototype of %ObjectPrototype%, whereas the only such object in ECMAScript [`Array.prototype[@@unscopables]`](https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables) has null as prototype. Because of the fact that @@unscopables is [used](https://tc39.github.io/ecma262/#sec-object-environment-records-hasbinding-n) with `ToBoolean(Get())` rather than something more specific like `HasOwnProperty()`, we are blocking more properties than we intended to (the %ObjectPrototype% properties). We should change this. -- 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/496
Received on Monday, 11 December 2017 09:50:34 UTC