Bug 1497329 [wpt PR 13378] - Update interfaces/webrtc.idl, a=testonly
authorautofoolip <auto@foolip.org>
Thu, 11 Oct 2018 09:30:47 +0000
changeset 499464 a798aebf9902cbc103a71142c8d9119b3b8b6a41
parent 499463 06f46420815f27c2f9534343e84058f1fa9568ca
child 499465 73f3a0ec3ee83eeb084e9138badb4c45298f1c90
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1497329, 13378
milestone64.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 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
testing/web-platform/tests/interfaces/webrtc.idl
--- 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;
              [EnforceRange]
              unsigned short id;
              RTCPriorityType priority = "low";
 };