Bug 305957
| Summary: | Remove implicit "= {}" and "= []" default values for IDL optionals | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Bindings | Assignee: | Sam Weinig <sam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
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
Pull request: https://github.com/WebKit/WebKit/pull/57023
EWS
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
<rdar://problem/168770165>