aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/init.rs')
-rw-r--r--components/script/init.rs7
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 {