mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Backed out changeset 3a6678776d36 (bug 1849265) for causing asan failures on browser_localStorage_snapshotting.js. CLOSED TREE
This commit is contained in:
parent
a8eb21c695
commit
b79adce429
@ -4863,8 +4863,7 @@ bool WorkerPrivate::NotifyInternal(WorkerStatus aStatus) {
|
||||
return true;
|
||||
}
|
||||
|
||||
MOZ_ASSERT_IF(aStatus == Killing,
|
||||
mStatus == Canceling && mParentStatus == Canceling);
|
||||
MOZ_ASSERT_IF(aStatus == Killing, mStatus == Canceling);
|
||||
|
||||
if (aStatus >= Canceling) {
|
||||
MutexAutoUnlock unlock(mMutex);
|
||||
@ -4884,12 +4883,6 @@ bool WorkerPrivate::NotifyInternal(WorkerStatus aStatus) {
|
||||
if (aStatus == Closing) {
|
||||
Close();
|
||||
}
|
||||
|
||||
// Synchronize the mParentStatus with mStatus, such that event dispatching
|
||||
// will fail in proper after WorkerPrivate gets into Killing status.
|
||||
if (aStatus == Killing) {
|
||||
mParentStatus = Killing;
|
||||
}
|
||||
}
|
||||
|
||||
if (aStatus >= Closing) {
|
||||
|
Loading…
Reference in New Issue
Block a user