Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Automation: use a more informative key to indicate automation ava…
…ilability https://bugs.webkit.org/show_bug.cgi?id=197377 <rdar://problem/50258069> Reviewed by Devin Rousso. The existing WIRAutomationEnabledKey does not encode uncertainty. Add a new key that provides an 'Unknown' state, and prefer to use it. Since an application's initial listing is sent from a background dispatch queue on Cocoa platforms, this can race with main thread initialization that sets up RemoteInspector::Client. Therefore, the initial listing may not properly represent the client's capabilites because the client is not yet available. Allowing for an "Unknown" state that is later upgraded to Available or Not Available makes it possible to work around this potential race. * inspector/remote/RemoteInspectorConstants.h: * inspector/remote/cocoa/RemoteInspectorCocoa.mm: (Inspector::RemoteInspector::pushListingsNow): Canonical link: https://commits.webkit.org/211613@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters