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

Safari Support for WindowClient.navigate() #26264

Closed
stephen-hardy opened this issue Apr 17, 2023 · 7 comments · Fixed by mdn/browser-compat-data#19407
Closed

Safari Support for WindowClient.navigate() #26264

stephen-hardy opened this issue Apr 17, 2023 · 7 comments · Fixed by mdn/browser-compat-data#19407
Assignees
Labels
Content:WebAPI Web API docs

Comments

@stephen-hardy
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/navigate

What specific section or headline is this issue about?

Browser Compatibility

What information was incorrect, unhelpful, or incomplete?

I think WindowClient.navigate() works in Safari now, at least from what I can tell. I'm not sure when it started working, version-wise, because I hardly see any references to it online.

What did you expect to see?

Full support listed for Safari 16.4 - or perhaps even earlier versions, if someone has that available to test.

Do you have any supporting links, references, or citations?

Here is a quick way to test:

https://googlechrome.github.io/samples/service-worker/windowclient-navigate/

Past that, I tried it (from the console) on one of my own sites and it worked fine on Safari desktop and iOS.

Do you have anything more you want to share?

I'm most curious to know how far back this support goes, but unfortunately I don't have any old devices on which to test. I'm kinda hoping that as a part of verifying this report, somebody will give some indication :)

MDN metadata

Page report details
@stephen-hardy stephen-hardy added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 17, 2023
@github-actions github-actions bot added the Content:WebAPI Web API docs label Apr 17, 2023
@hamishwillee hamishwillee self-assigned this Apr 17, 2023
@hamishwillee
Copy link
Collaborator

It doesn't appear to work on Safari 15.6 or earlier. it does work on 16.3. I'll update BCD> Thanks for reporting!

@stephen-hardy
Copy link
Author

Awesome! Thanks for the quick response!

Were you able to test on Safari 16-16.2, or is the status for those versions technically unknown? Just curious for my own dev/release needs. I might be able to find some v16 devices that haven't been updated, somewhere.

@hamishwillee
Copy link
Collaborator

Hi @stephen-hardy
I was only able to test on 16.3 and 15.3 - Browserstack holds the last minor version of a particular version. Couldn't find any information in various release notes.

@hamishwillee hamishwillee removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 18, 2023
@stephen-hardy
Copy link
Author

Yeah, I couldn't either. I'll post back here if I find 16.0-16.2 devices to test on.

@hamishwillee
Copy link
Collaborator

Thanks. Best place to post would be in https://github.com/mdn/browser-compat-data/ if you find an error (or mdn/browser-compat-data#19407 if you find out before it is merged).

@Josh-Cena
Copy link
Member

Testing support for older Safari versions is always a pain. However, if it's hard for us to run code on old Safari, it's likely going to be hard for users as well, so no reason to worry about it too much. (Apple is rather active at keeping users up-to-date.)

@stephen-hardy
Copy link
Author

Changes were merged into MDN documentation. Support was proven back to Safari 16.0

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants