Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4d615268b408e70bbdbab4670ef69439c98bd2af https://github.com/WebKit/WebKit/commit/4d615268b408e70bbdbab4670ef69439c98bd2af Author: Alex Christensen <achristen...@apple.com> Date: 2024-04-24 (Wed, 24 Apr 2024)
Changed paths: M Tools/WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl M Tools/WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl M Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp M Tools/WebKitTestRunner/InjectedBundle/EventSendingController.h M Tools/WebKitTestRunner/InjectedBundle/TextInputController.cpp M Tools/WebKitTestRunner/InjectedBundle/TextInputController.h Log Message: ----------- Reduce use of WKBundlePageGetMainFrame in WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=273223 rdar://127020492 Reviewed by Pascoe. The main frame, and the main frame JS context, might not be in the current process with site isolation enabled. What we want is the current context. This PR fixes fast/events/key-events-in-frame.html with --site-isolation, among other tests. * Tools/WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: * Tools/WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl: * Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp: (WTR::EventSendingController::mouseDown): (WTR::EventSendingController::mouseUp): (WTR::EventSendingController::keyDown): (WTR::EventSendingController::rawKeyDown): (WTR::EventSendingController::rawKeyUp): (WTR::EventSendingController::contextClick): (WTR::EventSendingController::callAfterScrollingCompletes): * Tools/WebKitTestRunner/InjectedBundle/EventSendingController.h: * Tools/WebKitTestRunner/InjectedBundle/TextInputController.cpp: (WTR::TextInputController::setMarkedText): * Tools/WebKitTestRunner/InjectedBundle/TextInputController.h: Canonical link: https://commits.webkit.org/277960@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