Skip to content

Named access on the Window object #1210

@mookums

Description

@mookums

https://html.spec.whatwg.org/multipage/nav-history-apis.html#named-access-on-the-window-object

We need to support the ability to get elements directly using their ID. This is used in various Web Platform tests where we end up having something like:

<iframe id="i"></iframe>

<script>
    i.onload = () => { console.log("loaded") }
</script>

This currently causes us to get a ReferenceError for i not existing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions