WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
305957
Remove implicit "= {}" and "= []" default values for IDL optionals
https://bugs.webkit.org/show_bug.cgi?id=305957
Summary
Remove implicit "= {}" and "= []" default values for IDL optionals
Sam Weinig
Reported
2026-01-21 11:48:24 PST
We currently ignore the "{}" default value (parsing it and then pretending it didn't exists) and instead treat all optional dictionaries as if they had it, confusingly using "[]" to track that. We should do this the right way.
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2026-01-21 18:25:19 PST
Pull request:
https://github.com/WebKit/WebKit/pull/57023
EWS
Comment 2
2026-01-23 10:38:50 PST
Committed
306102@main
(7df3a28c9e9b): <
https://commits.webkit.org/306102@main
> Reviewed commits have been landed. Closing PR #57023 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-01-23 10:39:12 PST
<
rdar://problem/168770165
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug