diff --git a/dom/workers/ServiceWorkerRegistration.cpp b/dom/workers/ServiceWorkerRegistration.cpp index a29f392886d7..21bb739e3096 100644 --- a/dom/workers/ServiceWorkerRegistration.cpp +++ b/dom/workers/ServiceWorkerRegistration.cpp @@ -337,6 +337,15 @@ public: mPromiseProxy->CleanUp(aCx); return true; } + + void + PostDispatch(JSContext* aCx, WorkerPrivate* aWorkerPrivate, + bool aSuccess) override + { + if (!aSuccess) { + mStatus.SuppressException(); + } + } }; class WorkerThreadUpdateCallback final : public ServiceWorkerUpdateFinishCallback