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 | a80267e9e88b3dcebf7f8f1f6f10931a99ddf2ca (patch) | |
tree | 24d69034f60ed1f6bf79cccfbbe05f10c26238ff /dom/fetch | |
parent | c3916ca1a0164dcb7742360a43d7ab36a80907fc (diff) | |
download | uxp-a80267e9e88b3dcebf7f8f1f6f10931a99ddf2ca.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); |