mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use draft spec links
This commit is contained in:
parent
7761243100
commit
b7e2e79e53
4 changed files with 18 additions and 18 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue