Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 375cdc397ac2d646c8f43ed094ce1d2a18790005
      
https://github.com/WebKit/WebKit/commit/375cdc397ac2d646c8f43ed094ce1d2a18790005
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

  Changed paths:
    M Tools/WebKitTestRunner/DictionaryFunctions.h
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h
    M Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
    M Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
    M Tools/WebKitTestRunner/TestController.cpp
    M Tools/WebKitTestRunner/TestController.h
    M Tools/WebKitTestRunner/TestInvocation.cpp
    M Tools/WebKitTestRunner/TestInvocation.h
    M Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm

  Log Message:
  -----------
  Expand use of WKBundlePagePostMessageWithAsyncReply in WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=273359
rdar://127169842

Reviewed by Charlie Wolfe.

Not only does it reduce boilerplate code, but it also works better with site 
isolation
by sending the reply to the originating process instead of the main frame 
process.

* Tools/WebKitTestRunner/DictionaryFunctions.h:
(WTR::arrayValue):
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::didReceiveMessageToPage):
(WTR::InjectedBundle::postRemoveChromeInputField): Deleted.
(WTR::InjectedBundle::postSetBackingScaleFactor): Deleted.
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h:
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::removeChromeInputField):
(WTR::TestRunner::setBackingScaleFactor):
(WTR::TestRunner::removeAllSessionCredentials):
(WTR::TestRunner::setAppBoundDomains):
(WTR::TestRunner::setManagedDomains):
(WTR::TestRunner::callRemoveChromeInputFieldCallback): Deleted.
(WTR::TestRunner::callSetBackingScaleFactorCallback): Deleted.
(WTR::TestRunner::callDidRemoveAllSessionCredentialsCallback): Deleted.
(WTR::TestRunner::didSetAppBoundDomainsCallback): Deleted.
(WTR::TestRunner::didSetManagedDomainsCallback): Deleted.
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:
* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::didReceiveAsyncMessageFromInjectedBundle):
(WTR::TestController::removeAllSessionCredentials):
(WTR::TestController::setAppBoundDomains):
(WTR::TestController::setManagedDomains):
(WTR::AppBoundDomainsCallbackContext::AppBoundDomainsCallbackContext): Deleted.
(WTR::didSetAppBoundDomainsCallback): Deleted.
(WTR::ManagedDomainsCallbackContext::ManagedDomainsCallbackContext): Deleted.
(WTR::didSetManagedDomainsCallback): Deleted.
* Tools/WebKitTestRunner/TestController.h:
* Tools/WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
(WTR::TestInvocation::didRemoveAllSessionCredentials): Deleted.
(WTR::TestInvocation::didSetAppBoundDomains): Deleted.
(WTR::TestInvocation::didSetManagedDomains): Deleted.
* Tools/WebKitTestRunner/TestInvocation.h:
* Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm:
(WTR::TestController::removeAllSessionCredentials):

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



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

Reply via email to