mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1238990 P1 ServiceWorkerManager should trigger automatic updates in current process. r=ehsan
This commit is contained in:
parent
fc9cf6f9d5
commit
bdd438123b
@ -5020,8 +5020,7 @@ ServiceWorkerManager::UpdateTimerFired(nsIPrincipal* aPrincipal,
|
||||
PrincipalOriginAttributes attrs =
|
||||
BasePrincipal::Cast(aPrincipal)->OriginAttributesRef();
|
||||
|
||||
// Then trigger an update to fire asynchronously now.
|
||||
PropagateSoftUpdate(attrs, NS_ConvertUTF8toUTF16(aScope));
|
||||
SoftUpdate(attrs, aScope);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(ServiceWorkerInfo, nsIServiceWorkerInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user