Index: third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
index 472928bcb1daacf8203b1bf48e18ea0ef76ec9fe..3e487ed48192256be75888e7212dfcdbb6a06479 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
@@ -46,7 +46,8 @@ bool InProcessWorkerBase::initialize(ExecutionContext* context, const String& ur |
{ |
suspendIfNeeded(); |
- KURL scriptURL = resolveURL(url, exceptionState); |
+ // TODO(mkwst): Revisit the context as https://drafts.css-houdini.org/worklets/ evolves. |
+ KURL scriptURL = resolveURL(url, exceptionState, WebURLRequest::RequestContextScript); |
if (scriptURL.isEmpty()) |
return false; |