diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-05 13:04:44 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-05 13:04:44 +0200 |
commit | 7831532bfccdc8cbba9dfbac992cd1d39d59ab76 (patch) | |
tree | 24d69034f60ed1f6bf79cccfbbe05f10c26238ff /dom/fetch | |
parent | 5acf9e28bd864db0333530d639a343cb6f976ae6 (diff) | |
download | uxp-7831532bfccdc8cbba9dfbac992cd1d39d59ab76.tar.gz |
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status
Diffstat (limited to 'dom/fetch')
-rw-r--r-- | dom/fetch/Request.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/Request.cpp b/dom/fetch/Request.cpp index c119a503e6..d3836cda10 100644 --- a/dom/fetch/Request.cpp +++ b/dom/fetch/Request.cpp @@ -403,7 +403,7 @@ Request::Constructor(const GlobalObject& aGlobal, // this work in a single sync loop. RefPtr<ReferrerSameOriginChecker> checker = new ReferrerSameOriginChecker(worker, referrerURL, rv); - checker->Dispatch(aRv); + checker->Dispatch(Terminating, aRv); if (aRv.Failed() || NS_FAILED(rv)) { aRv.ThrowTypeError<MSG_CROSS_ORIGIN_REFERRER_URL>(referrer, worker->GetLocationInfo().mOrigin); |