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

  Changed paths:
    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

  Log Message:
  -----------
  Expand use of WKBundlePagePostMessageWithAsyncReply
https://bugs.webkit.org/show_bug.cgi?id=273162
rdar://126956541

Reviewed by Sihui Liu.

This helps site isolation testing by sending the reply to the sending process
instead of the main frame process.  This is covered by 2 tests:
http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode.html
http/tests/resourceLoadStatistics/enable-debug-mode.html

* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::didReceiveMessageToPage):
(WTR::postMessageWithAsyncReplyImpl):
(WTR::postMessageWithAsyncReply):
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h:
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setStatisticsDebugMode):
(WTR::TestRunner::statisticsCallDidSetDebugModeCallback): Deleted.
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:
* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::didReceiveAsyncMessageFromInjectedBundle):
(WTR::TestController::setStatisticsDebugMode):
* Tools/WebKitTestRunner/TestController.h:
* Tools/WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
(WTR::TestInvocation::didSetStatisticsDebugMode): Deleted.
* Tools/WebKitTestRunner/TestInvocation.h:

Canonical link: https://commits.webkit.org/277933@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