Should return iframes contentWindow from (HTML)Document's named getter (i.e. `<iframe name="foo">` should cause `document.foo` to be defined)
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: Ms2ger, Assigned: edgar)
References
(Regressed 1 open bug, )
Details
(Keywords: webcompat:platform-bug)
User Story
platform-scheduled:2025-06-30
Attachments
(2 files)
Comment 1•9 years ago
|
||
| Comment hidden (mozreview-request) |
Comment 3•9 years ago
|
||
Updated•9 years ago
|
Comment 4•9 years ago
|
||
| mozreview-review | ||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
| mozreview-review | ||
Updated•9 years ago
|
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
| mozreview-review | ||
Comment 9•9 years ago
|
||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
| Comment hidden (mozreview-request) |
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
| mozreview-review | ||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
| mozreview-review-reply | ||
Comment 19•9 years ago
|
||
| mozreview-review-reply | ||
| Comment hidden (mozreview-request) |
Comment 21•9 years ago
|
||
| mozreview-review | ||
Comment 22•8 years ago
|
||
| mozreview-review | ||
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 27•8 years ago
|
||
| mozreview-review | ||
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
Comment 30•8 years ago
|
||
| mozreview-review | ||
Updated•8 years ago
|
Comment 31•8 years ago
|
||
Updated•8 years ago
|
Updated•7 years ago
|
Updated•3 years ago
|
Comment 34•1 year ago
|
||
[--> clarifying bug summary slightly for clarity, to make it easier to find when running into instances of this. Also, clearing see-also relationship for bug which is also a duplicate.]
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 35•1 year ago
|
||
Original patch: https://hg.mozilla.org/mozreview/gecko/rev/7d93b7e3c1499b0b81d970722537b98f5d88efdd
Original author: Aryeh Gregor <ayg@aryeh.name>
According to the spec,
- https://html.spec.whatwg.org/#dom-document-nameditem
- https://html.spec.whatwg.org/#named-access-on-the-window-object
the document and window named getters return different values. This patch creates
a separated content list for document named getter while keeping the original
content list for the window named getter. Additionally, the content list now
includes both names and ids, in addition to the id list (which is still used for
other things like getElementById()).
This means one element might be on up to multiple lists, but this implementation
is necessary. Specifically, we must return a consistent live list for document.foo
and for window.foo, so they need to be stored separately and cannot be generated
on the fly from a single shared list.
| Assignee | ||
Comment 36•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 37•1 year ago
|
||
Comment 38•1 year ago
|
||
Comment 40•1 year ago
|
||
| Assignee | ||
Comment 42•1 year ago
|
||
Comment 43•1 year ago
|
||
Comment 44•1 year ago
|
||
| bugherder | ||
Description
•