Skip to content

Minimize the usage of the incumbent concept #1430

Open

Description

@domenic

This is a tracking bug, both for HTML and for the wider web ecosystem, to see if we can minimize the number of places that use the incumbent global/settings object/realm. Originally this was https://www.w3.org/Bugs/Public/show_bug.cgi?id=26603.

Here is our HTML checklist:

Other specs:

If you have other specs that use the incumbent concept, comment here and I will update the OP.

Activity

  1. self-assigned this
    on Jun 15, 2016
  2. xfq commented on Aug 16, 2017

    @xfq
    Contributor
  3. 6 remaining items

  4. domenic commented on May 5, 2021

    @domenic
    MemberAuthor

    Chromium codesearch indicates incumbent is used for:

    • Location
    • postMessage()
    • window.close()
    • window.open() (some uses not on the above list, although some are part of navigation)
    • window.focus() (not on the above list!!)
    • COOP reporting

    Most suspiciously the incumbentNavigationOrigin which the spec uses (see #6514) does not appear very prominently in Chromium's codebase, certainly not in the navigation stack. Instead a couple of navigation call sites (Location and window.open()) use it. Hmm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions