Bug 1447692: update RTCDataChannelEventInit to meet spec. r=smaug
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Wed, 21 Mar 2018 16:03:42 +0000
changeset 409536 4f163b5f1ac61ef0dce3a8c07009476c32d03940
parent 409535 959eb9adc89add6d13faa9c7431e2eee31c0213a
child 409537 5f0d610a7a024242df0aedf60745cdd5be5198fb
push id101247
push usernerli@mozilla.com
push dateThu, 22 Mar 2018 23:00:51 +0000
treeherdermozilla-inbound@02e384bdf97d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1447692
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1447692: update RTCDataChannelEventInit to meet spec. r=smaug MozReview-Commit-ID: 9ggm11SsOyC
dom/webidl/RTCDataChannelEvent.webidl
--- a/dom/webidl/RTCDataChannelEvent.webidl
+++ b/dom/webidl/RTCDataChannelEvent.webidl
@@ -3,16 +3,16 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/.
  *
  * The origin of this IDL file is
  * http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannelEvent
  */
 
 dictionary RTCDataChannelEventInit : EventInit {
-    RTCDataChannel? channel = null;
+    required RTCDataChannel channel;
 };
 
 [Pref="media.peerconnection.enabled",
- Constructor(DOMString type, optional RTCDataChannelEventInit eventInitDict)]
+ Constructor(DOMString type, RTCDataChannelEventInit eventInitDict)]
 interface RTCDataChannelEvent : Event {
-  readonly attribute RTCDataChannel? channel;
+  readonly attribute RTCDataChannel channel;
 };