Skip to content

Commit

Permalink
Align (parts of) WebRTC IDL with spec
Browse files Browse the repository at this point in the history
The serializer is blocking #8063

ufrag was renamed in w3c/webrtc-pc#1479
  • Loading branch information
foolip authored Nov 13, 2017
1 parent b7b8d3e commit 78eb632
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions interfaces/webrtc-pc.idl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ enum RTCSdpType {
interface RTCSessionDescription {
readonly attribute RTCSdpType type;
readonly attribute DOMString sdp;
serializer = {attribute};
[Default] object toJSON();
};

dictionary RTCSessionDescriptionInit {
Expand All @@ -180,15 +180,15 @@ interface RTCIceCandidate {
readonly attribute RTCIceTcpCandidateType? tcpType;
readonly attribute DOMString? relatedAddress;
readonly attribute unsigned short? relatedPort;
readonly attribute DOMString? ufrag;
serializer = {candidate, sdpMid, sdpMLineIndex, ufrag};
readonly attribute DOMString? usernameFragment;
RTCIceCandidateInit toJSON();
};

dictionary RTCIceCandidateInit {
DOMString candidate = "";
DOMString? sdpMid = null;
unsigned short? sdpMLineIndex = null;
DOMString ufrag;
DOMString usernameFragment;
};

enum RTCIceProtocol {
Expand Down

0 comments on commit 78eb632

Please sign in to comment.