Bug 1497329 [wpt PR 13378] - Update interfaces/webrtc.idl, a=testonly
authorautofoolip <auto@foolip.org>
Thu, 11 Oct 2018 09:30:47 +0000
changeset 441016 a798aebf9902cbc103a71142c8d9119b3b8b6a41
parent 441015 06f46420815f27c2f9534343e84058f1fa9568ca
child 441017 73f3a0ec3ee83eeb084e9138badb4c45298f1c90
push id34842
push useraciure@mozilla.com
push dateSat, 13 Oct 2018 09:36:47 +0000
treeherdermozilla-central@94a62c1aad52 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1497329, 13378
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 1497329 [wpt PR 13378] - Update interfaces/webrtc.idl, a=testonly Automatic update from web-platform-testsUpdate interfaces/webrtc.idl (#13378) Source: https://github.com/tidoust/reffy-reports/blob/f0a4f8f/whatwg/idl/webrtc.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/437465234 -- wpt-commits: 47cea8c38b88c0ddd3854e4edec0c5b6f2697e62 wpt-pr: 13378
--- a/testing/web-platform/tests/interfaces/webrtc.idl
+++ b/testing/web-platform/tests/interfaces/webrtc.idl
@@ -515,33 +515,36 @@ enum RTCSctpTransportState {
     readonly        attribute unsigned short? maxPacketLifeTime;
     readonly        attribute unsigned short? maxRetransmits;
     readonly        attribute USVString protocol;
     readonly        attribute boolean negotiated;
     readonly        attribute unsigned short? id;
     readonly        attribute RTCPriorityType priority;
     readonly        attribute RTCDataChannelState readyState;
     readonly        attribute unsigned long bufferedAmount;
+                    [EnforceRange]
                     attribute unsigned long bufferedAmountLowThreshold;
                     attribute EventHandler onopen;
                     attribute EventHandler onbufferedamountlow;
                     attribute EventHandler onerror;
                     attribute EventHandler onclose;
     void close();
                     attribute EventHandler onmessage;
                     attribute DOMString binaryType;
     void send(USVString data);
     void send(Blob data);
     void send(ArrayBuffer data);
     void send(ArrayBufferView data);
 dictionary RTCDataChannelInit {
              boolean ordered = true;
+             [EnforceRange]
              unsigned short maxPacketLifeTime;
+             [EnforceRange]
              unsigned short maxRetransmits;
              USVString protocol = "";
              boolean negotiated = false;
              unsigned short id;
              RTCPriorityType priority = "low";