mirror of
https://github.com/servo/servo.git
synced 2025-07-25 16:20:36 +01:00
Auto merge of #22533 - CYBAI:rm-sw-foreign, r=jdm
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 -->
This commit is contained in:
commit
47eb8fe3db
3 changed files with 5 additions and 16 deletions
|
@ -152,7 +152,7 @@ pub fn Fetch(
|
|||
|
||||
// Step 3
|
||||
if global.downcast::<ServiceWorkerGlobalScope>().is_some() {
|
||||
request_init.service_workers_mode = ServiceWorkersMode::Foreign;
|
||||
request_init.service_workers_mode = ServiceWorkersMode::None;
|
||||
}
|
||||
|
||||
// Step 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue