[whatwg/webidl] Make setlike/maplike generated properties enumerable (PR #1166)

This makes the properties generated by the maplike/setlike declarations consistent with properties generated by other IDL constructs such as operation and attribute declarations. (That includes, e.g., explicitly-specified has/get/set/delete operations!) This is also consistent with the generated properties for iterable declarations.

The @@iterator symbol property remains non-enumerable, like it is for iterable declarations, and like all other symbol-named properties are.

Closes #738.

<!--
Thank you for contributing to the Web IDL Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * TODO, asked for support in https://github.com/whatwg/webidl/issues/738#issuecomment-1182662322

- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chrome: …
   * Firefox: …
   * Safari: …
   * Deno: …
   * Node.js: …
   * webidl2.js: …
   * widlparser: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

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


-- Commit Summary --

  * Make setlike/maplike generated properties enumerable

-- File Changes --

    M index.bs (40)

-- Patch Links --

https://github.com/whatwg/webidl/pull/1166.patch

https://github.com/whatwg/webidl/pull/1166.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1166

You are receiving this because you are subscribed to this thread.

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

Received on Wednesday, 13 July 2022 01:43:39 UTC