Add support for 'any' type in dictionaries.
Created attachment 285240 [details] Patch
Comment on attachment 285240 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285240&action=review > Source/WebCore/bindings/js/JSDOMConvert.h:122 > + using OptionalValue = JSC::JSValue; // Use an empty JSValue to mean an optional value was not present. Alternatively, we could pass jsUndefined() to the implementation if the member is not present since I don't think we need to distinguish missing member from member being undefined in this case. However, this would require some minor tweaking of the bindings generator. Let me know if you'd prefer passing undefined instead of JSValue().
Created attachment 285368 [details] Patch
Comment on attachment 285368 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285368&action=review > Source/WebCore/bindings/js/JSDOMConvert.h:133 > + using OptionalValue = JSC::JSValue; // Use an empty JSValue to mean an optional value was not present. Alternatively, we could pass jsUndefined() to the implementation if the member is not present since I don't think we need to distinguish missing member from member being undefined in this case. However, this would require some minor tweaking of the bindings generator. Let me know if you'd prefer passing undefined instead of JSValue().
Comment on attachment 285368 [details] Patch I slightly prefer jsUndefined(), just cause I am not sure where else we use JSValue()
Created attachment 285391 [details] Patch
(In reply to comment #5) > Comment on attachment 285368 [details] > Patch > > I slightly prefer jsUndefined(), just cause I am not sure where else we use > JSValue() Done.
Comment on attachment 285391 [details] Patch Clearing flags on attachment: 285391 Committed r204216: <http://trac.webkit.org/changeset/204216>
All reviewed patches have been landed. Closing bug.