diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2020-04-01 23:33:27 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2020-04-05 22:43:40 +0800 |
commit | db217d557513030836898f840206d5ac9ed87b79 (patch) | |
tree | b7a6fcb19ad54f6a2304bd7ce2049beda8ee85f6 /components/script/init.rs | |
parent | 9972aee81f0e80d34157325a5e13b3b1a7ef417a (diff) | |
download | servo-db217d557513030836898f840206d5ac9ed87b79.tar.gz servo-db217d557513030836898f840206d5ac9ed87b79.zip |
allow for a service worker manager per origin
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 { |