00:23
<MikeSmith>
would it make sense for the Web Locks API to be incorporated into the HTML spec, or is it better for it to be managed as a separate spec?
00:23
<MikeSmith>
https://wicg.github.io/web-locks/
00:24
<MikeSmith>
it doesn’t do any monkey patching of algorithms in HTML or DOM
02:37
<Domenic>
I was wondering about storage.spec.whatwg.org
02:37
<Domenic>
Its own spec might be fine though
16:40
<MikeSmith>
why is that when I do Object.getOwnPropertyNames(Window) I get essentially next to nothing
16:40
<MikeSmith>
compared to Object.getOwnPropertyNames(window)
16:41
<MikeSmith>
in browsers, where do all those properties of the window instance originally come from
16:42
<jgraham>
MikeSmith: Are the properties on Window.prototype?
16:42
jgraham
doesn't remember enough webidl to answer this question
16:42
<MikeSmith>
no
16:42
<MikeSmith>
at least there not there if you inspect Window.prototype in devtools
16:43
<MikeSmith>
so if they are not from Window.prototype where are they from
16:44
<MikeSmith>
I guess it’s just that the Window/window case is some kind of very special case?
19:43
<annevk>
MikeSmith: it is
19:45
<annevk>
MikeSmith: they are on the instance, but you also can never really get there due to WindowProxy (in a worker you can though); named properties are on the prototype chain though and likely EventTarget
22:05
<MikeSmith>
annevk: I see
22:06
<MikeSmith>
so for MDN, this makes me wonder how the properties should rightly be documented
22:08
<MikeSmith>
e.g., I would think the title of https://developer.mozilla.org/en-US/docs/Web/API/Window/closed should rightly be window.closed instead of Window.closed
22:10
<MikeSmith>
and MDN should make it more clear that window is the special global object
22:12
<MikeSmith>
but since MDN article paths seem to be case-insensitive, https://developer.mozilla.org/en-US/docs/Web/API/window and https://developer.mozilla.org/en-US/docs/Web/API/Window are the same article