Skip to content

Test that navigation API state is ignored cross-document - #64000

Open
zcorpan wants to merge 1 commit into
masterfrom
zcorpan/navigation-api-cross-document-state
Open

zcorpan wants to merge 1 commit into
masterfrom
zcorpan/navigation-api-cross-document-state

Conversation

@zcorpan

@zcorpan zcorpan commented Oct 21, 2026

Copy link
Copy Markdown
Member

navigation.navigate() and navigation.reload() use state only for the navigate event's destination when the navigation is cross-document; the new or reloaded entry doesn't get it. The spec says state "will be ignored for navigations that end up cross-document", which was decided in WICG/navigation-api#98.

Firefox Nightly fails the navigate() test (currentEntry.getState() returns the state). Chrome Canary and Safari TP pass both tests.

See web-platform-tests/interop#1441.

`navigation.navigate()` and `navigation.reload()` only use `state` for the `navigate` event's `destination` when the navigation is cross-document; the new or reloaded entry doesn't get it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@zcorpan zcorpan closed this Oct 22, 2026
@zcorpan zcorpan reopened this Oct 22, 2026
@community-tc-integration

Copy link
Copy Markdown
Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw/Y-QIzpcrRWe0JY2wPdAgpg",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw/Y-QIzpcrRWe0JY2wPdAgpg",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2026-10-22T06:10:28.082Z

@community-tc-integration

Copy link
Copy Markdown
Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw/QYATlthsRdKa7y-VJ5M2iw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw/QYATlthsRdKa7y-VJ5M2iw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/LbZyt1EKS3qWlM9kZ861Cw"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2026-10-22T06:10:34.778Z

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants