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

move SW version test to audit to use possibly redirected URL #620

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

brendankenny
Copy link
Member

moves the search for the active service worker from a gatherer to an audit so it can use the final, possibly redirected URL of the test page (as introduced in #582). When #619 lands and the SW is registered reliably before the gatherer runs, this will allow e.g. https://www.airhorner.com to pass the SW check.

The service worker for airhorner is at https://airhorner.com/sw.js, so it currently fails the same origin check with https://www.airhorner.com. This PR will properly take into account the redirect to https://airhorner.com and so the same origin check will pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants