diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2020-06-01 11:42:39 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2020-06-29 16:53:47 +0200 |
commit | 84598a517323f47284e34aa328a195ae96c5f8cc (patch) | |
tree | 29cdb08114999db04bcb7e02261f5556d146961c /components/script/dom/webidls/RTCErrorEvent.webidl | |
parent | 4e6d3e7cec0fa2467bdb7e6dd926facc4c37a28b (diff) | |
download | servo-84598a517323f47284e34aa328a195ae96c5f8cc.tar.gz servo-84598a517323f47284e34aa328a195ae96c5f8cc.zip |
Introduce RTCError and RTCErrorEvent
Diffstat (limited to 'components/script/dom/webidls/RTCErrorEvent.webidl')
-rw-r--r-- | components/script/dom/webidls/RTCErrorEvent.webidl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/script/dom/webidls/RTCErrorEvent.webidl b/components/script/dom/webidls/RTCErrorEvent.webidl new file mode 100644 index 00000000000..1f215d39374 --- /dev/null +++ b/components/script/dom/webidls/RTCErrorEvent.webidl @@ -0,0 +1,15 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ + + // https://www.w3.org/TR/webrtc/#rtcerrorevent-interface + +[Exposed=Window] +interface RTCErrorEvent : Event { + constructor(DOMString type, RTCErrorEventInit eventInitDict); + [SameObject] readonly attribute RTCError error; +}; + +dictionary RTCErrorEventInit : EventInit { + required RTCError error; +};
\ No newline at end of file |