summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-24 12:15:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:30:04 +0000
commitb014812705fc80bff0a5c120dfcef88f349816dc (patch)
tree25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc
parent9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff)
downloadqtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc')
-rw-r--r--chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc b/chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc
index 7fca9edf686..ed49f458a6a 100644
--- a/chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc
+++ b/chromium/third_party/blink/renderer/platform/loader/fetch/script_fetch_options.cc
@@ -23,6 +23,7 @@ FetchParameters ScriptFetchOptions::CreateFetchParameters(
ResourceLoaderOptions resource_loader_options;
resource_loader_options.initiator_info.name = "script";
FetchParameters params(resource_request, resource_loader_options);
+ params.SetRequestContext(WebURLRequest::kRequestContextScript);
// Step 1. ... and CORS setting. [spec text]
//