Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 88ba95ca13c91829a840cb6b5e023647f1304c53
      
https://github.com/WebKit/WebKit/commit/88ba95ca13c91829a840cb6b5e023647f1304c53
  Author: Charlie Wolfe <[email protected]>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M Source/WebCore/page/Frame.h
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/LocalFrame.h
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/RemoteFrame.cpp
    M Source/WebCore/page/RemoteFrame.h
    M Source/WebCore/page/Screen.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm
    M Tools/TestWebKitAPI/cocoa/TestWKWebView.h
    M Tools/TestWebKitAPI/cocoa/TestWKWebView.mm

  Log Message:
  -----------
  [Site Isolation] Begin using the correct privacy protections policy in iframe 
processes
https://bugs.webkit.org/show_bug.cgi?id=275410
rdar://129695932

Reviewed by Pascoe.

Set the advanced privacy protections policy on RemoteFrame and begin using it 
when a subframe is in a
different process. This matches what we do for custom user agent policies.

* Source/WebCore/page/Frame.h:
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::advancedPrivacyProtections const):
* Source/WebCore/page/LocalFrame.h:
* Source/WebCore/page/Page.cpp:
(WebCore::Page::fingerprintingProtectionsEnabled const):
* Source/WebCore/page/RemoteFrame.cpp:
(WebCore::RemoteFrame::advancedPrivacyProtections const):
* Source/WebCore/page/RemoteFrame.h:
* Source/WebCore/page/Screen.cpp:
(WebCore::fingerprintingProtectionsEnabled):
* Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp:
(WebKit::WebRemoteFrameClient::applyWebsitePolicies):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, 
AdvancedPrivacyProtectionsHideScreenMetricsFromBindings)):
* Tools/TestWebKitAPI/cocoa/TestWKWebView.h:
* Tools/TestWebKitAPI/cocoa/TestWKWebView.mm:
(-[WKWebView objectByEvaluatingJavaScript:]):
(-[WKWebView objectByEvaluatingJavaScript:inFrame:]):

Canonical link: https://commits.webkit.org/279963@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to