RESOLVED FIXED 231219
Remove unnecessary autofocus attribute dependencies in tests
https://bugs.webkit.org/show_bug.cgi?id=231219
Summary Remove unnecessary autofocus attribute dependencies in tests
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.