- From: Philip Jägenstedt <notifications@github.com>
- Date: Fri, 30 Apr 2021 07:08:29 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 30 April 2021 14:08:48 UTC
I noticed a new case of this in https://github.com/web-platform-tests/wpt/pull/28739 and dug up all the current cases of `FrozenArray<T>` dictionary members: https://immersive-web.github.io/hit-test/#idl-index https://immersive-web.github.io/webxr/#idl-index https://w3c.github.io/orientation-sensor/#idl-index https://wicg.github.io/shape-detection-api/#idl-index https://wicg.github.io/shape-detection-api/text.html#idl-index https://wicg.github.io/ua-client-hints/#idl-index It looks like in most cases it was just copy-pasted from an interface. While one can make sense of what this means and create the frozen arrays, it does seem kind of pointless. Whenever a dictionary is returned it's a new object, is there really any point in making arrays within frozen? -- 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/900#issuecomment-830121000
Received on Friday, 30 April 2021 14:08:48 UTC