[webrtc-pc] Pull Request: FrozenArray, sequence and SameObject

henbos has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== FrozenArray, sequence and SameObject ==
Because dictionaries are returned by copy, returning FrozenArray\<DictionaryType\> must return a new array of new objects every time, and the dictionaries are mutable. In this case it makes more sense to use a getter method returning sequence\<DictionaryType\> than FrozenArray-attributes.

The one use of FrozenArray\<T\> where T is an interface gets [SameObject].

Fixes #1138.

See https://github.com/w3c/webrtc-pc/pull/1145

Received on Tuesday, 25 April 2017 09:29:08 UTC