Use draft spec links

This commit is contained in:
Manish Goregaokar 2019-01-28 22:24:16 -08:00
parent 7761243100
commit b7e2e79e53
4 changed files with 18 additions and 18 deletions

View file

@ -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()
}