Bug 198422

Summary: WebKitTestRunner sometimes freezes under -[NSWindow release]
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, commit-queue, ryanhaddad, sroberts, thorton
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix none

Alexey Proskuryakov
Reported 2019-05-31 09:47:10 PDT
rdar://problem/50948871 NSWindow does some interesting things when a window that's being deallocated is still the key window. Our code for key window management that was added for gamepad testing makes it so that the window remains the key one until after dealloc, which results in a deadlock.
Attachments
proposed fix (2.66 KB, patch)
2019-05-31 09:51 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2019-05-31 09:51:25 PDT
Created attachment 371065 [details] proposed fix
WebKit Commit Bot
Comment 2 2019-05-31 11:56:42 PDT
Comment on attachment 371065 [details] proposed fix Clearing flags on attachment: 371065 Committed r245975: <https://trac.webkit.org/changeset/245975>
WebKit Commit Bot
Comment 3 2019-05-31 11:56:43 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.