Bug 820476: Allow postMessage on pending workers. r=bent

--HG--
extra : rebase_source : dcf71f5eafcf06b6c4da2cc8412e9b65eda144c4
This commit is contained in:
Kyle Huey 2012-12-14 08:16:11 -08:00
Родитель 1a22065d73
Коммит 9c6a2c02f4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2244,7 +2244,7 @@ WorkerPrivateParent<Derived>::PostMessage(JSContext* aCx, jsval aMessage,
{ {
MutexAutoLock lock(mMutex); MutexAutoLock lock(mMutex);
if (mParentStatus != Running) { if (mParentStatus > Running) {
return true; return true;
} }
} }