Bug 231219

Summary: Remove unnecessary autofocus attribute dependencies in tests
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 203139    
Attachments:
Description Flags
Patch koivisto: review+

Tim Nguyen (:ntim)
Reported 2021-10-05 00:18:36 PDT
The new autofocus behaviour timing happens asynchronously with the page "update rendering" steps. Some tests are using it solely to focus synchronously on elements. We should just use HTMLElement.focus() there so those tests don't rely on the current synchronous timing of autofocus.
Attachments
Patch (3.24 KB, patch)
2021-10-05 00:29 PDT, Tim Nguyen (:ntim)
koivisto: review+
Radar WebKit Bug Importer
Comment 1 2021-10-05 00:18:59 PDT
Tim Nguyen (:ntim)
Comment 2 2021-10-05 00:29:01 PDT
Tim Nguyen (:ntim)
Comment 3 2021-10-05 01:36:55 PDT
Note You need to log in before you can comment on or make changes to this bug.