From Blink's `document.idl`: ``` // Named getter is implemented without IDL code generation for better // performance. See local_window_proxy.cc. // getter object (DOMString name); ``` and the implementation is such that it only exposes named props for instances of the internal `HTMLDocument` class, and only ones that are in a `Window` context. What it's doing is _definitely_ not matching the HTML/IDL specs. I haven't dug into the WebKit code here yet.
Bug 1567755 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
From Blink's `document.idl`: ``` // Named getter is implemented without IDL code generation for better // performance. See local_window_proxy.cc. // getter object (DOMString name); ``` and the implementation is such that it only exposes named props for instances of the internal `HTMLDocument` class, and only ones that are being rendered in a `Window` (so not XHR response documents, for example). What it's doing is _definitely_ not matching the HTML/IDL specs and can't even be expressed in those terms, as far as I can see. I haven't dug into the WebKit code here yet.