[webkit-changes] [WebKit/WebKit] 81f542: Move more logic from InjectedBundlePage::prepare t...

Alex Christensen noreply at github.com
Sat Oct 26 17:34:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81f54244c407447d1c93013a0e3c5f989a50d375
      https://github.com/WebKit/WebKit/commit/81f54244c407447d1c93013a0e3c5f989a50d375
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-10-26 (Sat, 26 Oct 2024)

  Changed paths:
    M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
    M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPageTesting.cpp
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp

  Log Message:
  -----------
  Move more logic from InjectedBundlePage::prepare to a more site isolation friendly location
https://bugs.webkit.org/show_bug.cgi?id=282110
rdar://138654042

Reviewed by Charlie Wolfe.

WebPageTesting::resetStateBetweenTests is broadcast to all web content processes,
not just the main frame process.

* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageClearMainFrameName): Deleted.
(WKBundlePageSetEventThrottlingBehaviorOverride): Deleted.
* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setBaseWritingDirection):
(WebKit::WebPage::clearMainFrameName): Deleted.
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPageTesting.cpp:
(WebKit::WebPageTesting::resetStateBetweenTests):
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::prepare):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list