зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1740551 - Do not perform navigation fault mitigation when the ServiceWorkerRegistrationInfo::mUnregistered is true. r=dom-worker-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D134384
This commit is contained in:
Родитель
03a4d7f62c
Коммит
e733f56e1d
|
@ -509,7 +509,7 @@ void ServiceWorkerRegistrationInfo::MaybeScheduleUpdate() {
|
|||
|
||||
// When reach the navigation fault threshold, calling unregister instead of
|
||||
// scheduling update.
|
||||
if (mActiveWorker) {
|
||||
if (mActiveWorker && !mUnregistered) {
|
||||
uint32_t navigationFaultCount;
|
||||
mActiveWorker->GetNavigationFaultCount(&navigationFaultCount);
|
||||
const auto navigationFaultThreshold = StaticPrefs::
|
||||
|
|
Загрузка…
Ссылка в новой задаче