-
Notifications
You must be signed in to change notification settings - Fork 330
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
Remove "foreign" service-workers mode #596
Conversation
Fixes part of w3c/ServiceWorker#1188.
I'm not sure how. We need to prevent |
Ah yeah, we still want service workers to intercept some requests that are created within a service worker so that still makes sense. Thanks! |
|
I'm not aware of any tests. @mkruisselbrink? The tests @jakearchibald added in one of the commits linked above are still relevant and didn't test foreign fetch. https://bugzilla.mozilla.org/buglist.cgi?quicksearch=foreign%20fetch does suggest there are some tests that need to be removed and bugs to be closed. Hopefully that happens as part of the changes to service workers. cc @jungkees |
At least these tests should be removed: https://github.com/w3c/web-platform-tests/blob/master/service-workers/service-worker/foreign-fetch-basics.https.html There are also a bunch of link-element-register tests which were added with foreign fetch. I guess we are keeping those? |
I updated w3c/ServiceWorker#1188 to make sure this all gets taken into account. |
This greatly hobbles the ability for an offline capable web to ever happen. I am deeply saddened to see this. |
Remove `foreign` service-workers mode Bringing in the spec changes from whatwg/fetch#596 --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because the corresponding tests should already be removed. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22533) <!-- Reviewable:end -->
Fixes part of w3c/ServiceWorker#1188.
Preview | Diff