diff --git a/dom/workers/remoteworkers/RemoteWorkerChild.cpp b/dom/workers/remoteworkers/RemoteWorkerChild.cpp index d96361a59fc2..dad513c2c923 100644 --- a/dom/workers/remoteworkers/RemoteWorkerChild.cpp +++ b/dom/workers/remoteworkers/RemoteWorkerChild.cpp @@ -144,33 +144,11 @@ class MessagePortIdentifierRunnable final : public WorkerRunnable { mPortIdentifier(aPortIdentifier) {} private: - virtual bool WorkerRun(JSContext* aCx, - WorkerPrivate* aWorkerPrivate) override { + bool WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate) override { mActor->AddPortIdentifier(aCx, aWorkerPrivate, mPortIdentifier); return true; } - virtual bool PreDispatch(WorkerPrivate* aWorkerPrivate) override { - // Silence bad assertions. - return true; - } - - virtual void PostDispatch(WorkerPrivate* aWorkerPrivate, - bool aDispatchResult) override { - // Silence bad assertions. - } - - bool PreRun(WorkerPrivate* aWorkerPrivate) override { - // Silence bad assertions. - return true; - } - - void PostRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate, - bool aRunResult) override { - // Silence bad assertions. - return; - } - SelfHolder mActor; UniqueMessagePortId mPortIdentifier; }; diff --git a/dom/workers/test/mochitest.ini b/dom/workers/test/mochitest.ini index 3cfdebb0bd6c..17e6601e9cce 100644 --- a/dom/workers/test/mochitest.ini +++ b/dom/workers/test/mochitest.ini @@ -108,7 +108,6 @@ support-files = [test_blobConstructor.html] [test_blobWorkers.html] [test_bug949946.html] -skip-if = debug && ((android_version == '24') || (os == "linux" && bits == 64) || (os == "win" && bits == 32) || (os == "mac")) #crashes Bug 1564700 [test_bug978260.html] [test_bug998474.html] [test_bug1002702.html]