mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset d66d35f64802 because it is wrong.
This commit is contained in:
parent
a21f3b6313
commit
5b3dffac00
@ -144,14 +144,13 @@ SessionDescription.prototype = {
|
||||
Ci.nsIDOMRTCSessionDescription, Ci.nsIDOMGlobalObjectConstructor
|
||||
]),
|
||||
|
||||
constructor: function(win, descriptionInitDict) {
|
||||
constructor: function(win, type, sdp) {
|
||||
if (this._win) {
|
||||
throw new Error("Constructor already called");
|
||||
}
|
||||
this._win = win;
|
||||
if (descriptionInitDict === undefined) {
|
||||
this.type = this.sdp = null;
|
||||
}
|
||||
this.type = type;
|
||||
this.sdp = sdp;
|
||||
},
|
||||
|
||||
toString: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user