Re: [heycam/webidl] FrozenArray: Is T mutable? (#348)

"Dictionaries are always passed by value. ... any dictionary returned from a platform object will be a copy and modifications made to it will not be visible to the platform object." https://www.w3.org/TR/WebIDL-1/#idl-dictionaries

Well, FrozenArray\<DictionaryType\> is still handy to have (and used in several places in the webrtc spec), the implementation just has to make sure that the elements are copied.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/348#issuecomment-296637705

Received on Monday, 24 April 2017 11:58:11 UTC