data:// URL behavior of XHR does not match spec
[WebKit-https.git] / Source / WebCore / loader / WorkerThreadableLoader.cpp
index 0319770..d80d7c5 100644 (file)
@@ -92,7 +92,7 @@ struct LoaderTaskOptions {
 };
 
 LoaderTaskOptions::LoaderTaskOptions(const ThreadableLoaderOptions& options, const String& referrer, const SecurityOrigin& origin)
-    : options(options, options.preflightPolicy, options.contentSecurityPolicyEnforcement, options.initiator.isolatedCopy(), options.opaqueResponse)
+    : options(options, options.preflightPolicy, options.contentSecurityPolicyEnforcement, options.initiator.isolatedCopy(), options.opaqueResponse, options.sameOriginDataURLFlag)
     , referrer(referrer.isolatedCopy())
     , origin(origin.isolatedCopy())
 {