Bug 259947

Summary: Generated attribute setters for nullable enum string types fail when passing null
Product: WebKit Reporter: Ryan Reno <rreno>
Component: BindingsAssignee: Ryan Reno <rreno>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Reno 2023-08-08 15:54:42 PDT
If an attribute has an enumeration type it is supposed to silently fail if we pass a value that's not in the enum. However, we should allow null in the case of a nullable attribute.
Comment 1 Radar WebKit Bug Importer 2023-08-08 15:55:00 PDT
<rdar://problem/113591277>
Comment 2 Ryan Reno 2023-08-08 15:57:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16495
Comment 3 EWS 2023-08-09 08:08:05 PDT
Committed 266726@main (23551a03b824): <https://commits.webkit.org/266726@main>

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