| Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| index 9605409849a948ef11239b905b97e7a8f933e8c4..450a12edc16578e963ff9b3dc5a9f9764c1c3f6d 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| @@ -112,6 +112,8 @@ bool IsNoCORSAllowedContext(
|
| case WebURLRequest::RequestContextFavicon:
|
| case WebURLRequest::RequestContextImage:
|
| case WebURLRequest::RequestContextScript:
|
| + case WebURLRequest::RequestContextWorker:
|
| + case WebURLRequest::RequestContextSharedWorker:
|
| return true;
|
| case WebURLRequest::RequestContextPlugin:
|
| return skipServiceWorker == WebURLRequest::SkipServiceWorker::All;
|
|
|