Title: [249252] trunk/Source/WebCore
- Revision
- 249252
- Author
- [email protected]
- Date
- 2019-08-29 03:39:39 -0700 (Thu, 29 Aug 2019)
Log Message
WebSockets: first-party for cookies not set in handshake request when using platform APIs
https://bugs.webkit.org/show_bug.cgi?id=200165
Reviewed by Youenn Fablet.
* Modules/websockets/ThreadableWebSocketChannel.cpp:
(WebCore::ThreadableWebSocketChannel::webSocketConnectRequest):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (249251 => 249252)
--- trunk/Source/WebCore/ChangeLog 2019-08-29 10:38:02 UTC (rev 249251)
+++ trunk/Source/WebCore/ChangeLog 2019-08-29 10:39:39 UTC (rev 249252)
@@ -1,3 +1,13 @@
+2019-08-29 Carlos Garcia Campos <[email protected]>
+
+ WebSockets: first-party for cookies not set in handshake request when using platform APIs
+ https://bugs.webkit.org/show_bug.cgi?id=200165
+
+ Reviewed by Youenn Fablet.
+
+ * Modules/websockets/ThreadableWebSocketChannel.cpp:
+ (WebCore::ThreadableWebSocketChannel::webSocketConnectRequest):
+
2019-08-29 Rob Buis <[email protected]>
Implement HTMLOrForeignElement
Modified: trunk/Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp (249251 => 249252)
--- trunk/Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp 2019-08-29 10:38:02 UTC (rev 249251)
+++ trunk/Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp 2019-08-29 10:39:39 UTC (rev 249252)
@@ -110,6 +110,7 @@
request.setHTTPUserAgent(document.userAgent(validatedURL->url));
request.setDomainForCachePartition(document.domainForCachePartition());
request.setAllowCookies(validatedURL->areCookiesAllowed);
+ request.setFirstPartyForCookies(document.firstPartyForCookies());
request.setHTTPHeaderField(HTTPHeaderName::Origin, document.securityOrigin().toString());
// Add no-cache headers to avoid compatibility issue.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes