Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cbb65e5cfe2d540739f02fdd1ce6588ea73a0549
      
https://github.com/WebKit/WebKit/commit/cbb65e5cfe2d540739f02fdd1ce6588ea73a0549
  Author: Jessica Lee <[email protected]>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    A 
LayoutTests/http/tests/events/touch/ios/resources/iframe-with-content-change.html
    A 
LayoutTests/http/tests/events/touch/ios/synthetic-click-iframe-content-observation-expected.txt
    A 
LayoutTests/http/tests/events/touch/ios/synthetic-click-iframe-content-observation.html
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  If completeSyntheticClick provides a non-root frameID, resolve to root frame.
https://bugs.webkit.org/show_bug.cgi?id=306672
rdar://168161516

Reviewed by Ryosuke Niwa.

Sometimes, completeSyntheticClick receives a frameID that may not be a root 
frame. Previously, we
passed the frameID directly to localRootFrame() which always expects a root 
frame identifier. Now
we always ensure that completeSyntheticClick resolves the frameID to a root 
frame before calling
localRootFrame().

Test: 
http/tests/events/touch/ios/synthetic-click-iframe-content-observation.html

* 
LayoutTests/http/tests/events/touch/ios/resources/iframe-with-content-change.html:
 Added.
* 
LayoutTests/http/tests/events/touch/ios/synthetic-click-iframe-content-observation-expected.txt:
 Added.
* 
LayoutTests/http/tests/events/touch/ios/synthetic-click-iframe-content-observation.html:
 Added.
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::completeSyntheticClick):

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



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

Reply via email to