[whatwg/webidl] Make it clearer that static and namespace attrs don't get to have state. Fixes #1133 (PR #1135)

Per #1133, interface objects themselves, and namespaces, aren't intended to have complex internal state, so the algo creating their attribute getters (aka statics for interfaces, or regulars for namespaces) didn't give the "getter steps" access to the object themselves and instead called them with null.

This was somewhat implicit in the algo, so this is a light editorial restructuring that makes it more explicit, and adds a short note explaining it.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Make it clearer that static and namespace attrs don't get to have state. Fixes #1133

-- File Changes --

    M index.bs (13)

-- Patch Links --

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

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

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

Received on Friday, 29 April 2022 20:28:50 UTC