mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status
This commit is contained in:
parent
df880ae53f
commit
98546534b0
17 changed files with 102 additions and 56 deletions
|
|
@ -1477,7 +1477,7 @@ gfxUtils::ThreadSafeGetFeatureStatus(const nsCOMPtr<nsIGfxInfo>& gfxInfo,
|
|||
status);
|
||||
|
||||
ErrorResult rv;
|
||||
runnable->Dispatch(rv);
|
||||
runnable->Dispatch(dom::workers::Terminating, rv);
|
||||
if (rv.Failed()) {
|
||||
// XXXbz This is totally broken, since we're supposed to just abort
|
||||
// everything up the callstack but the callers basically eat the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue