Bug 1238990 P1 ServiceWorkerManager should trigger automatic updates in current process. r=ehsan

This commit is contained in:
Ben Kelly 2016-01-12 16:04:18 -08:00
parent fc9cf6f9d5
commit bdd438123b

View File

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