New tests for Accessibility-related features were added in Bug 215664, but only for macOS. We support these same features on iOS, and should have test coverage. This patch gets equivalent testing running on iOS.
<rdar://problem/77589455>
Created attachment 427846 [details] Patch
Created attachment 427929 [details] Patch
Comment on attachment 427929 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427929&action=review R=me. > Tools/TestWebKitAPI/Tests/WebKit/AccessibilityReduceMotion.mm:46 > +SOFT_LINK_CONSTANT_FOR_SOURCE(PAL, libAccessibility, kAXSReduceMotionPreference, CFStringRef) Should PAL be used here?
Created attachment 427969 [details] Patch
Comment on attachment 427969 [details] Patch R=me.
Created attachment 428020 [details] Patch for landing
Created attachment 428023 [details] Patch for landing
Created attachment 428026 [details] Patch for landing
Committed r277201 (237473@main): <https://commits.webkit.org/237473@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428026 [details].
Comment on attachment 428026 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=428026&action=review > Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/xcshareddata/xcschemes/TestWebKitAPI.xcscheme:58 > + <CommandLineArguments> > + <CommandLineArgument > + argument = "--gtest_filter=WebKit.AccessibilityReduceMotion" > + isEnabled = "YES"> > + </CommandLineArgument> > + </CommandLineArguments> Did you mean to commit this?
Comment on attachment 428026 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=428026&action=review > Source/WebKit/ChangeLog:10 > + Reviewed by Per Arne Vollan. This gives above the paragraph above.
(In reply to Simon Fraser (smfr) from comment #11) > Comment on attachment 428026 [details] > Patch for landing > > View in context: > https://bugs.webkit.org/attachment.cgi?id=428026&action=review > > > Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/xcshareddata/xcschemes/TestWebKitAPI.xcscheme:58 > > + <CommandLineArguments> > > + <CommandLineArgument > > + argument = "--gtest_filter=WebKit.AccessibilityReduceMotion" > > + isEnabled = "YES"> > > + </CommandLineArgument> > > + </CommandLineArguments> > > Did you mean to commit this? :-(
Re-opened since this is blocked by bug 225542
Created attachment 428043 [details] Patch for landing
Created attachment 428047 [details] Patch for landing
Committed r277209 (237481@main): <https://commits.webkit.org/237481@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428047 [details].