Skip to content

Commit

Permalink
turn serviceworker event-loop back on
Browse files Browse the repository at this point in the history
  • Loading branch information
gterzian committed Jun 3, 2020
1 parent 947fa8b commit 5174739
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/script/dom/serviceworkerglobalscope.rs
Expand Up @@ -414,9 +414,7 @@ impl ServiceWorkerGlobalScope {

fn has_timed_out(&self) -> bool {
// TODO: https://w3c.github.io/ServiceWorker/#service-worker-lifetime
// Since we don't have a shutdown mechanism yet, see #26548
// immediately stop the event-loop after executing the initial script.
true
false
}

fn handle_script_event(&self, msg: ServiceWorkerScriptMsg) {
Expand Down

0 comments on commit 5174739

Please sign in to comment.