Backout 115690326c5e for mochitest-2 orange on a CLOSED TREE
authorWes Kocher <wkocher@mozilla.com>
Fri, 09 Jan 2015 14:28:27 -0800
changeset 223084 367eacf58b48ccbee563964a111086fcbc46b6ff
parent 223083 21a26d8e745748a8b34d8cf03d338c31c099a71c
child 223085 eb4ffa05e89c100b85459f149264b3c2cd9b0461
push id28082
push usercbook@mozilla.com
push dateMon, 12 Jan 2015 10:44:52 +0000
treeherdermozilla-central@643589c3ef94 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone37.0a1
backs out115690326c5eb417d374f0b0978657662b79a0fd
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
Backout 115690326c5e for mochitest-2 orange on a CLOSED TREE
dom/workers/WorkerPrivate.cpp
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -5057,17 +5057,17 @@ WorkerPrivate::RemoveChildWorker(JSConte
 bool
 WorkerPrivate::AddFeature(JSContext* aCx, WorkerFeature* aFeature)
 {
   AssertIsOnWorkerThread();
 
   {
     MutexAutoLock lock(mMutex);
 
-    if (mStatus >= Killing) {
+    if (mStatus >= Canceling) {
       return false;
     }
   }
 
   NS_ASSERTION(!mFeatures.Contains(aFeature), "Already know about this one!");
   mFeatures.AppendElement(aFeature);
 
   return mFeatures.Length() == 1 ?