turn serviceworker event-loop back on

This commit is contained in:
Gregory Terzian 2020-05-24 16:40:57 +08:00
parent 947fa8bbb7
commit 5174739244

View file

@ -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) {