Re: [whatwg/encoding] Editorial: require returned dictionary members (#185)

> are there any?

Yes.  For example, https://w3c.github.io/mediacapture-main/getusermedia.html#media-stream-track-interface-definition has `MediaTrackConstraints` as both an argument to `applyConstraints()` and a return value from `getConstraints()`.  Those could in theory be defined as two separate dictionaries, but that would make things more confusing, I think.

Similar for `RTCConfiguration`, which is an argument to the `RTCPeerConnection` constructor and a return value from `getConfiguration()`.

There are various other examples too if we care.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/185#issuecomment-540701748

Received on Thursday, 10 October 2019 17:59:04 UTC