- From: Iñaki Baz Castillo <ibc@aliax.net>
- Date: Tue, 19 May 2015 23:47:45 +0200
- To: Martin Thomson <martin.thomson@gmail.com>
- Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
2015-05-19 21:57 GMT+02:00 Martin Thomson <martin.thomson@gmail.com>: > [Constructor (optional RTCSessionDescriptionInit descriptionInitDict)] > interface RTCSessionDescription { > attribute RTCSdpType? type; > attribute DOMString? sdp; > serializer = {attribute}; > }; > > Why is type nullable here? Because the constructor argument is optional. > > Why is the constructor argument optional? > > I'd have thought that we'd want to mark RTCSessionDescriptionInit.type > as required, and remove this optionality here. Am I missing something? Agreed. -- Iñaki Baz Castillo <ibc@aliax.net>
Received on Tuesday, 19 May 2015 21:48:35 UTC