Bug 218260 - Web Inspector: Search: don't steal focus from the search field when shown
Summary: Web Inspector: Search: don't steal focus from the search field when shown
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-27 14:01 PDT by Devin Rousso
Modified: 2020-10-27 14:49 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.69 KB, patch)
2020-10-27 14:02 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2020-10-27 14:01:34 PDT
# STEPS TO REPRODUCE
1. inspect any page
2. ⇧⌘F to show the Search Tab
3. search for "div"
4. close Web Inspector
5. open Web Inspector
6. ⇧⌘F to show the Search Tab

# EXPECTED
search field should stay focused even after search results populate

# ACTUAL
first search result steals focus from the search field
Comment 1 Devin Rousso 2020-10-27 14:02:58 PDT
Created attachment 412462 [details]
Patch
Comment 2 BJ Burg 2020-10-27 14:17:38 PDT
Comment on attachment 412462 [details]
Patch

r=me
Comment 3 EWS 2020-10-27 14:48:40 PDT
Committed r269074: <https://trac.webkit.org/changeset/269074>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 412462 [details].
Comment 4 Radar WebKit Bug Importer 2020-10-27 14:49:23 PDT
<rdar://problem/70739363>