Title: [293537] branches/safari-613.2.7.0-branch/Source/WebKit
Revision
293537
Author
[email protected]
Date
2022-04-27 15:25:24 -0700 (Wed, 27 Apr 2022)

Log Message

Cherry-pick r293481. rdar://problem/92336270

    Adjust what we consider to be private relayed
    https://bugs.webkit.org/show_bug.cgi?id=239784
    <rdar://92336270>

    Patch by Alex Christensen <[email protected]> on 2022-04-26
    Reviewed by Geoffrey Garen.

    If a request is not eligible for private relay, then do not consider it having been private relayed.

    * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
    (-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613.2.7.0-branch/Source/WebKit/ChangeLog (293536 => 293537)


--- branches/safari-613.2.7.0-branch/Source/WebKit/ChangeLog	2022-04-27 21:45:40 UTC (rev 293536)
+++ branches/safari-613.2.7.0-branch/Source/WebKit/ChangeLog	2022-04-27 22:25:24 UTC (rev 293537)
@@ -1,3 +1,34 @@
+2022-04-27  Alan Coon  <[email protected]>
+
+        Cherry-pick r293481. rdar://problem/92336270
+
+    Adjust what we consider to be private relayed
+    https://bugs.webkit.org/show_bug.cgi?id=239784
+    <rdar://92336270>
+    
+    Patch by Alex Christensen <[email protected]> on 2022-04-26
+    Reviewed by Geoffrey Garen.
+    
+    If a request is not eligible for private relay, then do not consider it having been private relayed.
+    
+    * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+    (-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2022-04-26  Alex Christensen  <[email protected]>
+
+            Adjust what we consider to be private relayed
+            https://bugs.webkit.org/show_bug.cgi?id=239784
+            <rdar://92336270>
+
+            Reviewed by Geoffrey Garen.
+
+            If a request is not eligible for private relay, then do not consider it having been private relayed.
+
+            * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+            (-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
+
 2022-04-22  Alan Coon  <[email protected]>
 
         Cherry-pick r291724. rdar://problem/91975589

Modified: branches/safari-613.2.7.0-branch/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm (293536 => 293537)


--- branches/safari-613.2.7.0-branch/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2022-04-27 21:45:40 UTC (rev 293536)
+++ branches/safari-613.2.7.0-branch/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2022-04-27 22:25:24 UTC (rev 293537)
@@ -930,7 +930,9 @@
 
         NSURLSessionTaskTransactionMetrics *metrics = taskMetrics.transactionMetrics.lastObject;
 #if HAVE(NETWORK_CONNECTION_PRIVACY_STANCE)
-        auto privateRelayed = metrics._privacyStance == nw_connection_privacy_stance_direct ? PrivateRelayed::No : PrivateRelayed::Yes;
+        auto privateRelayed = metrics._privacyStance == nw_connection_privacy_stance_direct
+            || metrics._privacyStance == nw_connection_privacy_stance_not_eligible
+            ? PrivateRelayed::No : PrivateRelayed::Yes;
 #else
         auto privateRelayed = PrivateRelayed::No;
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to