[whatwg/webidl] Clarify #named-properties-object (PR #1285)

This patch clarifies [#named-properties-object](https://webidl.spec.whatwg.org/#named-properties-object) per whatwg/html#9068 by adding a note that reads

> The [[OwnPropertyKeys]] internal method of a named properties object continues to use [OrdinaryOwnPropertyKeys](https://tc39.es/ecma262/multipage/ordinary-and-exotic-objects-behaviours.html#sec-ordinaryownpropertykeys), unlike the counterpart for [legacy platform objects](https://webidl.spec.whatwg.org/#dfn-legacy-platform-object). Since named properties are not “real” own properties, they will not be returned by this internal method.

The use of “real” in scare quotes is based on the wording in [#es-legacy-platform-objects](https://webidl.spec.whatwg.org/#es-legacy-platform-objects), but I’m open to suggestions for a more precise wording if needed.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/webidl/pull/1285

-- Commit Summary --

  * Clarify #named-properties-object

-- File Changes --

    M index.bs (6)

-- Patch Links --

https://github.com/whatwg/webidl/pull/1285.patch
https://github.com/whatwg/webidl/pull/1285.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1285
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1285@github.com>

Received on Tuesday, 28 March 2023 11:30:45 UTC