mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
This PR fixes some mistakes introduced in https://github.com/servo/servo/pull/37332. Where Binding.conf and WeakReferenceable trait were used badly Testing: No test introduces Fixes: It fixes mistake introduced in the incrementally implementation of #26488 Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
This commit is contained in:
parent
14259c1d59
commit
50531026a8
2 changed files with 1 additions and 7 deletions
|
@ -8,7 +8,6 @@ use std::rc::Rc;
|
|||
|
||||
use dom_struct::dom_struct;
|
||||
use js::rust::HandleObject;
|
||||
use script_bindings::weakref::WeakReferenceable;
|
||||
use servo_media::ServoMedia;
|
||||
use servo_media::streams::MediaStreamType;
|
||||
use servo_media::streams::registry::MediaStreamId;
|
||||
|
@ -791,8 +790,6 @@ impl RTCPeerConnectionMethods<crate::DomTypeHolder> for RTCPeerConnection {
|
|||
}
|
||||
}
|
||||
|
||||
impl WeakReferenceable for RTCPeerConnection {}
|
||||
|
||||
impl Convert<RTCSessionDescriptionInit> for SessionDescription {
|
||||
fn convert(self) -> RTCSessionDescriptionInit {
|
||||
let type_ = match self.type_ {
|
||||
|
|
|
@ -559,13 +559,10 @@ DOMInterfaces = {
|
|||
'canGc': ['Error', 'Redirect', 'Clone', 'CreateFromJson', 'Text', 'Blob', 'FormData', 'Json', 'ArrayBuffer', 'Headers', 'Bytes'],
|
||||
},
|
||||
|
||||
'RTCDataChannel': {
|
||||
'weakReferenceable': True,
|
||||
},
|
||||
|
||||
'RTCPeerConnection': {
|
||||
'inRealms': ['AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'],
|
||||
'canGc': ['Close', 'AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'],
|
||||
'weakReferenceable': True,
|
||||
},
|
||||
|
||||
'RTCRtpSender': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue