Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note on how navigation.navigate()'s url parameter is resolved. #26993

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

natechapin
Copy link
Contributor

Description

This provides a clarification on how navigaton.navigate()'s url parameter behaves when calling navigate() on another window's navigation interface.

Motivation

If a web developer is migrating to the navigation API from the location API, this may cause unexpected behavior. I hit a case like this while writing conformance tests during implementation of the navigation API.

Additional details

Spec PR for the navigation API: whatwg/html#8502
Explainer of the API: https://github.com/WICG/navigation-api

Related issues and pull requests

N/A

@natechapin natechapin requested a review from a team as a code owner May 26, 2023 16:49
@natechapin natechapin requested review from sideshowbarker and removed request for a team May 26, 2023 16:49
@github-actions github-actions bot added the Content:WebAPI Web API docs label May 26, 2023
@github-actions
Copy link
Contributor

Preview URLs

@sideshowbarker sideshowbarker removed their request for review May 29, 2023 07:10
Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Thanks!

@Josh-Cena Josh-Cena merged commit 4e01023 into mdn:main Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants