Index: third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h |
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h b/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h |
index e88cae999679e67a25ccecba6fa5d42e24de14fe..44e1304166de6ec4f4b47658f62ab75597a9fcbc 100644 |
--- a/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h |
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h |
@@ -104,7 +104,8 @@ struct ResourceLoaderOptions { |
// FIXME: check contentSecurityPolicyOption. |
// initiatorInfo is purely informational and should be benign for re-use. |
// requestInitiatorContext is benign (indicates document vs. worker) |
- // synchronousPolicy (safe to re-use an async XHR response for sync, etc.) |
+ if (synchronousPolicy != other.synchronousPolicy) |
+ return false; |
return corsEnabled == other.corsEnabled; |
// securityOrigin has more complicated checks which callers are responsible |
// for. |