diff options
author | Moonchild <moonchild@palemoon.org> | 2023-10-05 18:02:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-10-05 18:02:14 +0000 |
commit | 8c63b950f5a1a081d544a070b6c32d58bb7e001f (patch) | |
tree | aad0cee28cdedc067941daca4d68ebc1929288f3 | |
parent | a2f69c22f82af2cd980ad613521d7fe11fa306c4 (diff) | |
parent | 9aed582fc1fc9e236fa0994deb5a452368a62d10 (diff) | |
download | uxp-8c63b950f5a1a081d544a070b6c32d58bb7e001f.tar.gz |
Merge pull request 'Issue #2332 - Remove unimplemented and non-spec getStreamById from RTCPeerConnection' (#2334) from Basilisk-Dev/UXP-contrib:bz-1318163 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2334
-rw-r--r-- | dom/media/PeerConnection.js | 5 | ||||
-rw-r--r-- | dom/webidl/RTCPeerConnection.webidl | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/dom/media/PeerConnection.js b/dom/media/PeerConnection.js index 700e371364..622b1f08be 100644 --- a/dom/media/PeerConnection.js +++ b/dom/media/PeerConnection.js @@ -976,11 +976,6 @@ RTCPeerConnection.prototype = { stream.getTracks().forEach(track => this.addTrack(track, stream)); }, - getStreamById: function(id) { - throw new this._win.DOMException("getStreamById not yet implemented", - "NotSupportedError"); - }, - addTrack: function(track, stream) { if (stream.currentTime === undefined) { throw new this._win.DOMException("invalid stream.", "InvalidParameterError"); diff --git a/dom/webidl/RTCPeerConnection.webidl b/dom/webidl/RTCPeerConnection.webidl index 7ec5cc797b..b852d32070 100644 --- a/dom/webidl/RTCPeerConnection.webidl +++ b/dom/webidl/RTCPeerConnection.webidl @@ -108,8 +108,6 @@ interface RTCPeerConnection : EventTarget { sequence<MediaStream> getLocalStreams (); [UnsafeInPrerendering, Deprecated="RTCPeerConnectionGetStreams"] sequence<MediaStream> getRemoteStreams (); - [UnsafeInPrerendering] - MediaStream? getStreamById (DOMString streamId); void addStream (MediaStream stream); // replaces addStream; fails if already added |