[webkit-changes] [WebKit/WebKit] e95ad5: [iOS] RespondsToSelector check for `UIPhysicalKeyb...

Abrar Rahman Protyasha noreply at github.com
Fri Mar 29 20:28:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e95ad59cdf1098649635779f44807f9c5835ca05
      https://github.com/WebKit/WebKit/commit/e95ad59cdf1098649635779f44807f9c5835ca05
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm

  Log Message:
  -----------
  [iOS] RespondsToSelector check for `UIPhysicalKeyboardEvent` modifier flags should be removed since tests are only run on iOS 17+
https://bugs.webkit.org/show_bug.cgi?id=271914
rdar://107768498

Reviewed by Aditya Keerthi.

This patch cleans up the setter declaration and the responds to selector
checking necessitated by having to support iOS layout tests on
pre-and-post iOS 17. That is no longer the case, so let's drop the
extra code.

* Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::createUIPhysicalKeyboardEvent):
(WTR::setModifierFlagsForUIPhysicalKeyboardEvent): Deleted.

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



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


More information about the webkit-changes mailing list