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

  Changed paths:
    M Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
    M Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
    M Tools/WebKitTestRunner/InjectedBundle/TestRunner.h

  Log Message:
  -----------
  Reduce use of mainFrame in WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=273154
rdar://126952996

Reviewed by Charlie Wolfe.

In many places we can just get the current frame.
Using the main frame is problematic with site isolation because it is often not 
in the current process.

* Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::replaceFindMatchesAtIndices):
(WTR::TestRunner::isPageBoxVisible):
(WTR::TestRunner::evaluateScriptInIsolatedWorld):
(WTR::TestRunner::setTextDirection):
(WTR::TestRunner::callShouldCloseOnWebView):
(WTR::TestRunner::failNextNewCodeBlock):
(WTR::TestRunner::numberOfDFGCompiles):
(WTR::TestRunner::neverInlineFunction):
(WTR::TestRunner::setOpenPanelFiles):
(WTR::TestRunner::setAppBoundDomains):
(WTR::TestRunner::setManagedDomains):
(WTR::TestRunner::generateTestReport):
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:

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