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

Secure context support in Safari 15+ #36

Open
Finesse opened this issue Mar 14, 2023 · 0 comments
Open

Secure context support in Safari 15+ #36

Finesse opened this issue Mar 14, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Finesse
Copy link
Member

Finesse commented Mar 14, 2023

Desktop Safari versions 15 and newer is the only browser where the Broyster Karma plugin can't run tests in secure (a.k.a. HTTPS) context.

It happens because of 2 things:

  1. Safari 15+ doesn't want to ignore incorrect SSL certificates (link 1, link 2).
  2. BrowserStack forces bs-local.com instead of localhost when BrowserStack Local is used and the browser is launched using Selenium, and provides no SSL certificate for bs-local.com. Unfortunately, the BrowserStack support doesn't help solving this. A related discussion: add test #14 (comment).

If any of the 2 is solved, the issue is solved. This is an ideal solution.

If they are impossible, the other option is making a custom localhost tunnel that supports HTTPS. It will be harder to use because it involves other parties.


When this is solved, this test should be adjusted to check for secure context in all Safari versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant