Bug 250672

Summary: Fix race condition in focused element check
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: akeerthi, ashvayka, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-01-16 04:21:00 PST
Hi Team,

While going through Blink's commit, I came across another failing test in Safari 16.2 & STP161:

Test case - https://jsfiddle.net/n9taq71m/

^ Passes in Chrome Canary 111 and Firefox Nightly 110.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/eb44e7e1bcde3ae1a0e22268775614d1ad35dd9b

Haven't checked whether it is possible to do 1-1 merge but just wanted to raise, so we can fix it.

Thanks!
Comment 1 Alexey Proskuryakov 2023-01-16 11:55:03 PST
I don't think that this applies, I don't see any timer of this kind in WebKit. This test even passes when run on its own, outside JSFiddle.
Comment 2 Ryosuke Niwa 2023-01-16 12:00:41 PST
Yeah, we don't have this timer thing.