зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1238990 P1 ServiceWorkerManager should trigger automatic updates in current process. r=ehsan
This commit is contained in:
Родитель
fc9cf6f9d5
Коммит
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче