Bug 263715 - AX: Add test coverage for setting focus inside a modal dialog.
Summary: AX: Add test coverage for setting focus inside a modal dialog.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Andres Gonzalez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-26 05:47 PDT by Andres Gonzalez
Modified: 2023-11-06 11:01 PST (History)
12 users (show)

See Also:


Attachments
Patch (3.84 KB, patch)
2023-10-26 06:17 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff
Patch (4.97 KB, patch)
2023-10-26 14:32 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff
Patch (5.75 KB, patch)
2023-11-03 07:21 PDT, Andres Gonzalez
andresg_22: commit-queue+
Details | Formatted Diff | Diff
Patch (5.75 KB, patch)
2023-11-03 11:24 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gonzalez 2023-10-26 05:47:37 PDT
.
Comment 1 Radar WebKit Bug Importer 2023-10-26 05:47:47 PDT
<rdar://problem/117530301>
Comment 2 Andres Gonzalez 2023-10-26 06:17:52 PDT
Created attachment 468351 [details]
Patch
Comment 3 Tyler Wilcock 2023-10-26 10:24:36 PDT
Comment on attachment 468351 [details]
Patch

Looks good, but failing GTK + WPE bots
Comment 4 Andres Gonzalez 2023-10-26 14:32:16 PDT
Created attachment 468361 [details]
Patch

Follow up fix for ATSPI.
Comment 5 Carlos Garcia Campos 2023-10-30 07:07:13 PDT
I'll check the atspi failure as soon as I find some time.
Comment 6 Andres Gonzalez 2023-11-03 07:21:38 PDT
Created attachment 468469 [details]
Patch
Comment 7 Tyler Wilcock 2023-11-03 09:27:30 PDT
Comment on attachment 468469 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=468469&action=review

> LayoutTests/platform/glib/TestExpectations:460
> +accessibility/focus-inside-modal.html

Do we have have to specify [ Skip ] or [ Timeout ]?
Comment 8 Andres Gonzalez 2023-11-03 11:24:17 PDT
Created attachment 468474 [details]
Patch
Comment 9 Andres Gonzalez 2023-11-03 11:26:54 PDT
(In reply to Tyler Wilcock from comment #7)
> Comment on attachment 468469 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=468469&action=review
> 
> > LayoutTests/platform/glib/TestExpectations:460
> > +accessibility/focus-inside-modal.html
> 
> Do we have have to specify [ Skip ] or [ Timeout ]?

Yes! hadn't had enough coffee this morning, thanks!
Comment 10 Carlos Garcia Campos 2023-11-03 23:20:51 PDT
Comment on attachment 468474 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=468474&action=review

> COMMIT_MESSAGE:15
> +In addition the following ATSPI fix is needed for the test to pass in this platform (follow up to https://bugs.webkit.org/show_bug.cgi?id=263678):
> +* Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp:
> +(WTR::AccessibilityNotificationHandler::AccessibilityNotificationHandler):

I'm confused, this change is needed to make it pass, but you are also skipping it saying it times out.
Comment 11 Carlos Garcia Campos 2023-11-03 23:22:42 PDT
I'm sorry I haven't been able to look at this yet, it's been a busy week. I'm fine to land this with the test marked as failure to not block you.
Comment 12 Tyler Wilcock 2023-11-06 09:25:36 PST
(In reply to Carlos Garcia Campos from comment #10)
> Comment on attachment 468474 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=468474&action=review
> 
> > COMMIT_MESSAGE:15
> > +In addition the following ATSPI fix is needed for the test to pass in this platform (follow up to https://bugs.webkit.org/show_bug.cgi?id=263678):
> > +* Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp:
> > +(WTR::AccessibilityNotificationHandler::AccessibilityNotificationHandler):
> 
> I'm confused, this change is needed to make it pass, but you are also
> skipping it saying it times out.
Andres, do you know if the test is passing after making this change, meaning we don't need to mark it as skip / timeout?
Comment 13 EWS 2023-11-06 09:34:30 PST
Committed 270272@main (3de34e00862a): <https://commits.webkit.org/270272@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 468474 [details].
Comment 14 Andres Gonzalez 2023-11-06 11:01:01 PST
(In reply to Carlos Garcia Campos from comment #10)
> Comment on attachment 468474 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=468474&action=review
> 
> > COMMIT_MESSAGE:15
> > +In addition the following ATSPI fix is needed for the test to pass in this platform (follow up to https://bugs.webkit.org/show_bug.cgi?id=263678):
> > +* Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp:
> > +(WTR::AccessibilityNotificationHandler::AccessibilityNotificationHandler):
> 
> I'm confused, this change is needed to make it pass, but you are also
> skipping it saying it times out.

I believe that change is necessary as it is in COCOA, but it wasn't sufficient for ATSPI, still failing after that change. That's why I marked it as skip.