зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1256428 P13 Remove unnecessary ServiceWorkerUnregsterJob2 stop. r=jdm
See: https://github.com/slightlyoff/ServiceWorker/issues/855
This commit is contained in:
Родитель
bd0809f521
Коммит
e12c361099
|
@ -71,12 +71,6 @@ ServiceWorkerUnregisterJob2::AsyncExecute()
|
|||
|
||||
// "If no service worker client is using registration..."
|
||||
if (!registration->IsControllingDocuments()) {
|
||||
// "If registration's uninstalling flag is set.."
|
||||
if (!registration->mPendingUninstall) {
|
||||
Finish(NS_OK);
|
||||
return;
|
||||
}
|
||||
|
||||
// "Invoke [[Clear Registration]]..."
|
||||
swm->RemoveRegistration(registration);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче