aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/RTCSessionDescription.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/RTCSessionDescription.webidl')
-rw-r--r--components/script/dom/webidls/RTCSessionDescription.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/RTCSessionDescription.webidl b/components/script/dom/webidls/RTCSessionDescription.webidl
index 90ba45f1c44..f13d0fd0d9f 100644
--- a/components/script/dom/webidls/RTCSessionDescription.webidl
+++ b/components/script/dom/webidls/RTCSessionDescription.webidl
@@ -4,9 +4,9 @@
// https://w3c.github.io/webrtc-pc/#rtcsessiondescription-class
-[Constructor(RTCSessionDescriptionInit descriptionInitDict),
- Exposed=Window, Pref="dom.webrtc.enabled"]
+[Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCSessionDescription {
+ [Throws] constructor(RTCSessionDescriptionInit descriptionInitDict);
readonly attribute RTCSdpType type;
readonly attribute DOMString sdp;
[Default] object toJSON();