diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-04-05 11:02:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 11:02:08 -0400 |
commit | ae49473c25d61452d1cd02db03bc9760b6cd95c2 (patch) | |
tree | 3615866e8cf020b6e1efcadde7789df399d897d5 /components/script/init.rs | |
parent | 406eefb4b1e02a40638317290006ac8e828e0764 (diff) | |
parent | 1e017a7082e7649a4d2d2f2b8b8d1a1a23c7fb84 (diff) | |
download | servo-ae49473c25d61452d1cd02db03bc9760b6cd95c2.tar.gz servo-ae49473c25d61452d1cd02db03bc9760b6cd95c2.zip |
Auto merge of #26087 - gterzian:allow_service_workers_in_multiprocess, r=jdm
Fix ServiceWorker in multiprocess
<!-- Please describe your changes on the following line: -->
FIX #15217
FIX #26100
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/init.rs')
-rw-r--r-- | components/script/init.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/components/script/init.rs b/components/script/init.rs index 30e01dda74e..823f045fad4 100644 --- a/components/script/init.rs +++ b/components/script/init.rs @@ -5,8 +5,6 @@ use crate::dom::bindings::codegen::RegisterBindings; use crate::dom::bindings::proxyhandler; use crate::script_runtime::JSEngineSetup; -use crate::serviceworker_manager::ServiceWorkerManager; -use script_traits::SWManagerSenders; #[cfg(target_os = "linux")] #[allow(unsafe_code)] @@ -51,11 +49,6 @@ fn perform_platform_specific_initialization() { #[cfg(not(target_os = "linux"))] fn perform_platform_specific_initialization() {} -pub fn init_service_workers(sw_senders: SWManagerSenders) { - // Spawn the service worker manager passing the constellation sender - ServiceWorkerManager::spawn_manager(sw_senders); -} - #[allow(unsafe_code)] pub fn init() -> JSEngineSetup { unsafe { |