Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b622c634458dcd5433855c011d048cee56d9d68c
      
https://github.com/WebKit/WebKit/commit/b622c634458dcd5433855c011d048cee56d9d68c
  Author: Zak Ridouh <[email protected]>
  Date:   2026-03-18 (Wed, 18 Mar 2026)

  Changed paths:
    M Tools/TestWebKitAPI/cocoa/TestWKWebView.h
    M Tools/TestWebKitAPI/cocoa/TestWKWebView.mm

  Log Message:
  -----------
  Implement evaluateJavaScriptAndWaitForInputSessionToChange:inFrame: in 
TestWKWebView
https://bugs.webkit.org/show_bug.cgi?id=310226
rdar://172868596

Reviewed by Aditya Keerthi.

Add a frame-aware variant of evaluateJavaScriptAndWaitForInputSessionToChange:
that evaluates JavaScript in a specific frame (via 
objectByEvaluatingJavaScript:inFrame:)
before waiting for the input session change. This enables testing focus/input 
interactions
inside cross-origin iframes with site isolation.

* Tools/TestWebKitAPI/cocoa/TestWKWebView.h:
* Tools/TestWebKitAPI/cocoa/TestWKWebView.mm:
(-[TestWKWebView evaluateJavaScriptAndWaitForInputSessionToChange:]):
(-[TestWKWebView evaluateJavaScriptAndWaitForInputSessionToChange:inFrame:]):

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



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

Reply via email to