RESOLVED FIXED311126
[Accessibility] Remove overly strict AX_ASSERT in WebPage::inheritAccessibilityMode
https://bugs.webkit.org/show_bug.cgi?id=311126
Summary [Accessibility] Remove overly strict AX_ASSERT in WebPage::inheritAccessibili...
Brandon
Reported 2026-03-30 12:56:58 PDT
The assertion assumed that if the UIProcess sends an Off accessibility mode during WebPage creation, accessibility must not already be enabled in the WebContent process. This doesn't hold when multiple WebPages share a process: an earlier page may have enabled accessibility process-wide via a non-Off mode, and a subsequent page receiving Off is normal. The function already handles this correctly by returning early (no-op). The assertion was purely defensive and the crash it caused was worse than the silent no-op.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-30 12:57:05 PDT
Brandon
Comment 2 2026-03-30 12:58:49 PDT
EWS
Comment 3 2026-03-30 19:37:09 PDT
Committed 310276@main (038aac1ed918): <https://commits.webkit.org/310276@main> Reviewed commits have been landed. Closing PR #61711 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.