diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp index c6002381559..2da1743c253 100644 --- a/dom/workers/WorkerPrivate.cpp +++ b/dom/workers/WorkerPrivate.cpp @@ -5062,7 +5062,7 @@ WorkerPrivate::AddFeature(JSContext* aCx, WorkerFeature* aFeature) { MutexAutoLock lock(mMutex); - if (mStatus >= Killing) { + if (mStatus >= Canceling) { return false; } }