Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f1b8127093df0cf856d9577b5b968d26c532ca4a
      
https://github.com/WebKit/WebKit/commit/f1b8127093df0cf856d9577b5b968d26c532ca4a
  Author: Dominic Mazzoni <dm_mazz...@apple.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  AX: Notify accessibility that WebProcess is suspended on both Mac and iOS
https://bugs.webkit.org/show_bug.cgi?id=275457
rdar://129796427

Reviewed by Andres Gonzalez and Brady Eidson.

https://bugs.webkit.org/show_bug.cgi?id=228936 (Notify accessibility
that WebProcess is suspended when in process cache) added an
accessibility notification that a process is suspended, but only for
iOS. We need the same notification on macOS also.

The Mac implementation of the notification is already there, and it's
already used in other places in the code where a process is
suspended. We were just missing the case where the process gets added
to the process cache.

The bug this causes is that assistive technology can try to query
attributes of an element that's in the suspended process. The query
hangs until it times out. This was happening sometimes when following
a link to a different domain with VoiceOver. The notification enables
accessibility clients to keep track of which processes are suspended
and cause any queries to those processes to fail fast.

* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::prepareToSuspend):
(WebKit::WebProcess::processDidResume):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to