diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2019-01-28 22:24:16 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2019-01-29 11:37:00 -0800 |
commit | b7e2e79e53d329e5e38c3a7e1f245a1832a47b06 (patch) | |
tree | 8676c871894271a198623eb300d6c399dd4148a1 /components/script/dom/rtcpeerconnection.rs | |
parent | 7761243100367e3d19891bb3ae04e9ad32e0006d (diff) | |
download | servo-b7e2e79e53d329e5e38c3a7e1f245a1832a47b06.tar.gz servo-b7e2e79e53d329e5e38c3a7e1f245a1832a47b06.zip |
Use draft spec links
Diffstat (limited to 'components/script/dom/rtcpeerconnection.rs')
-rw-r--r-- | components/script/dom/rtcpeerconnection.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/components/script/dom/rtcpeerconnection.rs b/components/script/dom/rtcpeerconnection.rs index 62bbe83c4ac..619721ca307 100644 --- a/components/script/dom/rtcpeerconnection.rs +++ b/components/script/dom/rtcpeerconnection.rs @@ -264,17 +264,17 @@ impl RTCPeerConnection { } impl RTCPeerConnectionMethods for RTCPeerConnection { - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-icecandidate + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-icecandidate event_handler!(icecandidate, GetOnicecandidate, SetOnicecandidate); - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-onnegotiationneeded + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-onnegotiationneeded event_handler!( negotiationneeded, GetOnnegotiationneeded, SetOnnegotiationneeded ); - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-addicecandidate + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addicecandidate fn AddIceCandidate(&self, candidate: &RTCIceCandidateInit) -> Rc<Promise> { let p = Promise::new(&self.global()); if candidate.sdpMid.is_none() && candidate.sdpMLineIndex.is_none() { @@ -293,7 +293,7 @@ impl RTCPeerConnectionMethods for RTCPeerConnection { } // XXXManishearth this should be enqueued - // https://www.w3.org/TR/webrtc/#enqueue-an-operation + // https://w3c.github.io/webrtc-pc/#enqueue-an-operation self.controller .borrow_mut() @@ -309,7 +309,7 @@ impl RTCPeerConnectionMethods for RTCPeerConnection { p } - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-createoffer + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-createoffer fn CreateOffer(&self, _options: &RTCOfferOptions) -> Rc<Promise> { let p = Promise::new(&self.global()); if self.closed.get() { @@ -321,7 +321,7 @@ impl RTCPeerConnectionMethods for RTCPeerConnection { p } - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-createoffer + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-createoffer fn CreateAnswer(&self, _options: &RTCAnswerOptions) -> Rc<Promise> { let p = Promise::new(&self.global()); if self.closed.get() { @@ -333,17 +333,17 @@ impl RTCPeerConnectionMethods for RTCPeerConnection { p } - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-localdescription + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-localdescription fn GetLocalDescription(&self) -> Option<DomRoot<RTCSessionDescription>> { self.local_description.get() } - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-remotedescription + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-remotedescription fn GetRemoteDescription(&self) -> Option<DomRoot<RTCSessionDescription>> { self.remote_description.get() } - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-setlocaldescription + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-setlocaldescription fn SetLocalDescription(&self, desc: &RTCSessionDescriptionInit) -> Rc<Promise> { // XXXManishearth validate the current state let p = Promise::new(&self.global()); @@ -376,7 +376,7 @@ impl RTCPeerConnectionMethods for RTCPeerConnection { p } - /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-setremotedescription + /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-setremotedescription fn SetRemoteDescription(&self, desc: &RTCSessionDescriptionInit) -> Rc<Promise> { // XXXManishearth validate the current state let p = Promise::new(&self.global()); |