GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Window name targeting: tie-breaking for same-named top-level traversables is not interoperable · Issue #10850 · whatwg/html

Window name targeting: tie-breaking for same-named top-level traversables is not interoperable #10850

New issue
Copy link
New issue
Copy link
Open
Open
Window name targeting: tie-breaking for same-named top-level traversables is not interoperable#10850
Copy link
Labels
interopImplementations are not interoperable with each otherImplementations are not interoperable with each othertopic: frames/navigables/browsing contexts

Description

@domenic
domenic
opened on Dec 11, 2024
Issue body actions

What is the issue with the HTML Standard?

After #10818 merges, we will have an implementation-defined step which iterates over top-level traversables to find one with a matching name, in "find a navigable by target name". The effect is that if you have multiple such tabs with the same name, which one wins the tie is implementation-defined.

@kjmcnee states:

I can't remember the details, but I think Chromium and Firefox are based on creation order, or maybe reverse creation order. WebKit's ordering is arbitrary as it iterates over a hash set.

Chromium and Firefox's behavior seems better, at least, assuming they're both doing the same order. We should double-check the details, standardize on it, and write web platform tests.

For inspiration on how to write such tests, you can see Kevin's web-platform-tests/wpt#49631 .

Tests here that consistently fail on WebKit may be difficult to create, depending on how their hash works. Maybe something like creating 20 same-named top-level windows would work.

Activity

  1. domenic
    added
    interopImplementations are not interoperable with each otherImplementations are not interoperable with each other
    topic: frames/navigables/browsing contexts
    on Dec 11, 2024
  2. domenic
    added a commit that references this issue on Dec 12, 2024

    Make named window lookup more precise and correct BCG swap logic

    f23f559
  3. whatwg
    deleted a comment from H1590271361h on Dec 23, 2024
  4. lozy219
    added a commit that references this issue on Mar 10, 2025

    Make named window lookup more precise and correct BCG swap logic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    interopImplementations are not interoperable with each otherImplementations are not interoperable with each othertopic: frames/navigables/browsing contexts

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.