aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/script/dom/rtcicecandidate.rs8
-rw-r--r--components/script/dom/rtcpeerconnection.rs20
-rw-r--r--components/script/dom/rtcpeerconnectioniceevent.rs4
-rw-r--r--components/script/dom/rtcsessiondescription.rs4
4 files changed, 18 insertions, 18 deletions
diff --git a/components/script/dom/rtcicecandidate.rs b/components/script/dom/rtcicecandidate.rs
index 7ced25fc29c..144ac9f7413 100644
--- a/components/script/dom/rtcicecandidate.rs
+++ b/components/script/dom/rtcicecandidate.rs
@@ -79,22 +79,22 @@ impl RTCIceCandidate {
}
impl RTCIceCandidateMethods for RTCIceCandidate {
- /// https://www.w3.org/TR/webrtc/#dom-rtcicecandidate-candidate
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-candidate
fn Candidate(&self) -> DOMString {
self.candidate.clone()
}
- /// https://www.w3.org/TR/webrtc/#dom-rtcicecandidate-sdpmid
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-sdpmid
fn GetSdpMid(&self) -> Option<DOMString> {
self.sdp_m_id.clone()
}
- /// https://www.w3.org/TR/webrtc/#dom-rtcicecandidate-sdpmlineindex
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-sdpmlineindex
fn GetSdpMLineIndex(&self) -> Option<u16> {
self.sdp_m_line_index.clone()
}
- /// https://www.w3.org/TR/webrtc/#dom-rtcicecandidate-usernamefragment
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-usernamefragment
fn GetUsernameFragment(&self) -> Option<DOMString> {
self.username_fragment.clone()
}
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());
diff --git a/components/script/dom/rtcpeerconnectioniceevent.rs b/components/script/dom/rtcpeerconnectioniceevent.rs
index f77d0ec2ad9..8293ed48696 100644
--- a/components/script/dom/rtcpeerconnectioniceevent.rs
+++ b/components/script/dom/rtcpeerconnectioniceevent.rs
@@ -75,12 +75,12 @@ impl RTCPeerConnectionIceEvent {
}
impl RTCPeerConnectionIceEventMethods for RTCPeerConnectionIceEvent {
- /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnectioniceevent-candidate
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceevent-candidate
fn GetCandidate(&self) -> Option<DomRoot<RTCIceCandidate>> {
self.candidate.as_ref().map(|x| DomRoot::from_ref(&**x))
}
- /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnectioniceevent-url
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceevent-url
fn GetUrl(&self) -> Option<DOMString> {
self.url.clone()
}
diff --git a/components/script/dom/rtcsessiondescription.rs b/components/script/dom/rtcsessiondescription.rs
index 833074d3814..0ef79a321c6 100644
--- a/components/script/dom/rtcsessiondescription.rs
+++ b/components/script/dom/rtcsessiondescription.rs
@@ -57,12 +57,12 @@ impl RTCSessionDescription {
}
impl RTCSessionDescriptionMethods for RTCSessionDescription {
- /// https://www.w3.org/TR/webrtc/#dom-rtcsessiondescription-type
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcsessiondescription-type
fn Type(&self) -> RTCSdpType {
self.ty
}
- /// https://www.w3.org/TR/webrtc/#dom-rtcsessiondescription-sdp
+ /// https://w3c.github.io/webrtc-pc/#dom-rtcsessiondescription-sdp
fn Sdp(&self) -> DOMString {
self.sdp.clone()
}