- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 21 Jan 2021 14:31:34 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 21 January 2021 22:31:46 UTC
I can't find anything in https://heycam.github.io/webidl/#namespace-object to suggest that a namespace object should have `length` or `name` properties, but looking at namespace objects in implementations the results are mixed: - `CSS.length` is 0 and `CSS.name` is "CSS" in Chrome, Firefox and Safari - `console.length` is 0 and `console.name` is "console" in Firefox, but both are undefined in Chrome and Safari - `WebAssembly.length` and `WebAssembly.name` are undefined in Chrome, Firefox and Safari I don't think this has caused any problems, but it could be a future nuisance making it harder to introduce a new namespace which has a `name` member. (Wanting a `length` member seems less likely.) With confirmation that these shouldn't be there, I could add negative tests for it. -- 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/949
Received on Thursday, 21 January 2021 22:31:46 UTC