Bug 252723

Summary: [GPU Process][FormControls] Don't create a fake NSView if viewless cell drawing is supported
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=252003
Bug Depends on:    
Bug Blocks: 249168    

Description Said Abou-Hallawa 2023-02-21 21:50:25 PST
For viewless drawing, we should not create the NSView. If we attempt to create an NSView while drawing a control part in GPU Process, that may throw an exception because creating an NSView or its NSWindow should happen only on the main thread.
Comment 1 Radar WebKit Bug Importer 2023-02-21 21:52:59 PST
<rdar://problem/105762717>
Comment 2 Said Abou-Hallawa 2023-02-22 09:17:09 PST
rdar://105778966
Comment 3 Said Abou-Hallawa 2023-02-22 11:04:09 PST
Pull request: https://github.com/WebKit/WebKit/pull/10528
Comment 4 EWS 2023-02-22 21:54:34 PST
Committed 260726@main (d9b43d246262): <https://commits.webkit.org/260726@main>

Reviewed commits have been landed. Closing PR #10528 and removing active labels.