NEW 177722
Support nullable and optional interfaces as members of a dictionary
https://bugs.webkit.org/show_bug.cgi?id=177722
Summary Support nullable and optional interfaces as members of a dictionary
Sam Weinig
Reported 2017-10-01 12:20:45 PDT
We currently treat a nullable interface that is an non-required member of a dictionary, just like we would a non-nullable interface that is an non-required member of a dictionary. That is for, interface Test { } dictionary Foo { Test? test; } dictionary Bar { Test test; } Foo and Bar have the same backing struct: struct Foo/Bar { RefPtr<Test> test; } To implement abort support for Fetch, we need to be able to distinguish these two cases to support the signal member on RequestInit (https://fetch.spec.whatwg.org/#requestinit) where differentiating between null and not-present is observable.
Attachments
Sam Weinig
Comment 1 2017-10-01 12:22:02 PDT
Note You need to log in before you can comment on or make changes to this bug.