Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ba8d91ff545df44326fd34d4beb81dbcf2614f33
      
https://github.com/WebKit/WebKit/commit/ba8d91ff545df44326fd34d4beb81dbcf2614f33
  Author: Zak Ridouh <[email protected]>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M Source/WebCore/platform/ValidationBubble.h
    M Source/WebCore/platform/ios/ValidationBubbleIOS.mm
    M Source/WebCore/platform/mac/ValidationBubbleMac.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm

  Log Message:
  -----------
  [Site Isolation] Expose ValidationBubble anchorRect in testing API
https://bugs.webkit.org/show_bug.cgi?id=312398
rdar://174855001

Reviewed by Aditya Keerthi.

Store the anchor rect passed to ValidationBubble::showRelativeTo() (macOS) and
ValidationBubble::setAnchorRect() (iOS), and return it from
_contentsOfUserInterfaceItem:@"validationBubble" for use in layout tests.

No new tests, as no change in functionality. Simply plumbing values through
for a followup patch to use.

* Source/WebCore/platform/ValidationBubble.h:
(WebCore::ValidationBubble::anchorRect const):
* Source/WebCore/platform/ios/ValidationBubbleIOS.mm:
(WebCore::ValidationBubble::setAnchorRect):
* Source/WebCore/platform/mac/ValidationBubbleMac.mm:
(WebCore::ValidationBubble::showRelativeTo):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm:
(-[WKWebView _contentsOfUserInterfaceItem:]):

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



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

Reply via email to