Bug 265282

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

Description Ahmad Saleem 2023-11-23 04:35:15 PST
Hi Team,

While going through Blink's commit, I came across another failing test case:

Test Case - https://jsfiddle.net/x9jykhLu/

^ Passes in Firefox Nightly 122 and Chrome Canary 121 while fails in Safari 17.1

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

It does not seems to be 1-1 merge because I couldn't find related function but it was just cursory look.

Just wanted to raise so we can fix it.

Thanks!
Comment 1 Ahmad Saleem 2023-11-23 04:37:10 PST
Ignore - it passes while loading from local.

So it is iframe focus issue.

*** This bug has been marked as a duplicate of bug 253409 ***