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   

Ryan Reno
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-08 15:55:00 PDT
Ryan Reno
Comment 2 2023-08-08 15:57:25 PDT
EWS
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.