Wait, looks like this has already been done. [RTCDataChannelInit](http://w3c.github.io/webrtc-pc/#idl-def-rtcdatachannelinit) says: ```js dictionary RTCDataChannelInit { boolean ordered = true; [EnforceRange] unsigned short maxPacketLifeTime; [EnforceRange] unsigned short maxRetransmits; USVString protocol = ""; boolean negotiated = false; [EnforceRange] unsigned short id; RTCPriorityType priority = "low"; }; ``` We just need to update [our webidl](https://searchfox.org/mozilla-central/source/dom/webidl/RTCPeerConnection.webidl#51) to match.
Bug 1531904 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Wait, looks like this has already been done. [RTCDataChannelInit](http://w3c.github.io/webrtc-pc/#idl-def-rtcdatachannelinit) says: ```js dictionary RTCDataChannelInit { boolean ordered = true; [EnforceRange] unsigned short maxPacketLifeTime; [EnforceRange] unsigned short maxRetransmits; USVString protocol = ""; boolean negotiated = false; [EnforceRange] unsigned short id; RTCPriorityType priority = "low"; }; ``` We just need to update [our webidl](https://searchfox.org/mozilla-central/rev/2f1020dc4176d38dd5f3d0496f3c46849862ee0b/dom/webidl/RTCPeerConnection.webidl#57) to match.