Re: [webrtc-pc] Fields in RTCStats dictionary should be required

It can be used to construct an `RTCSessionDescription` (which is possible for backwards compatibility) so that's possibly why.

Anyway, the point I was trying to make above is that if we don't have any normative requirement that says "`timestamp` MUST be present in returned `RTCStats` objects", then making it `required` is a way to implicitly add that requirement, and make it easy to find. Though maybe this is frowned upon and we should ask a WebIDL expert for advice.

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1476#issuecomment-315479457 using your GitHub account

Received on Friday, 14 July 2017 22:07:03 UTC