summaryrefslogtreecommitdiff
path: root/dom/fetch
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-05 13:04:44 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-05 13:04:44 +0200
commitc53cbb6a691bfc28badac4721a44b7ddfaafd751 (patch)
tree24d69034f60ed1f6bf79cccfbbe05f10c26238ff /dom/fetch
parentf29baa9f5d516657e2786a91dae3e1ff2f052f1e (diff)
downloadaura-central-c53cbb6a691bfc28badac4721a44b7ddfaafd751.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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/Request.cpp b/dom/fetch/Request.cpp
index c119a503e..d3836cda1 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);