Bug 1290288 - Remove control runnable warning. r=khuey
authorEric Rahm <erahm@mozilla.com>
Tue, 02 Aug 2016 10:03:47 -0700
changeset 307853 9cc951558a1754b1eac8e3840576526e61e2d286
parent 307852 04481dedde664d315be4ffff09e813f0109a9a6f
child 307854 47aa73d2276277c8f35eca9a6276b0b00d9e8427
push id30521
push usercbook@mozilla.com
push dateWed, 03 Aug 2016 15:04:18 +0000
treeherdermozilla-central@7f1b2e71efdc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs1290288
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1290288 - Remove control runnable warning. r=khuey
dom/workers/WorkerPrivate.cpp
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -2498,18 +2498,16 @@ WorkerPrivateParent<Derived>::DispatchCo
   MOZ_ASSERT(runnable);
 
   WorkerPrivate* self = ParentAsWorkerPrivate();
 
   {
     MutexAutoLock lock(mMutex);
 
     if (self->mStatus == Dead) {
-      NS_WARNING("A control runnable was posted to a worker that is already "
-                 "shutting down!");
       return NS_ERROR_UNEXPECTED;
     }
 
     // Transfer ownership to the control queue.
     self->mControlQueue.Push(runnable.forget().take());
 
     if (JSContext* cx = self->mJSContext) {
       MOZ_ASSERT(self->mThread);