Bug 1256428 P13 Remove unnecessary ServiceWorkerUnregsterJob2 stop. r=jdm

See: https://github.com/slightlyoff/ServiceWorker/issues/855
This commit is contained in:
Ben Kelly 2016-04-06 13:27:23 -07:00
Родитель bd0809f521
Коммит e12c361099
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

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