Bug 1411822: increase DTMF timeout range value. r=mjf
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Mon, 06 Nov 2017 15:12:13 -0800
changeset 443731 2167381ba50140af4db113eb121f1341daa60441
parent 443730 55c1cb6938fc2a9a55345d4202548872259a28a6
child 443732 2ee4a30d1ea7b08a38ff5108ee6055a337046e68
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmjf
bugs1411822
milestone58.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 1411822: increase DTMF timeout range value. r=mjf MozReview-Commit-ID: AUo4S3Zx5Nk
testing/web-platform/tests/webrtc/RTCDTMFSender-helper.js
--- a/testing/web-platform/tests/webrtc/RTCDTMFSender-helper.js
+++ b/testing/web-platform/tests/webrtc/RTCDTMFSender-helper.js
@@ -71,17 +71,17 @@ function test_tone_change_events(testFun
           `Expect current event.tone to be ${expectedTone}`);
 
         assert_equals(dtmfSender.toneBuffer, expectedToneBuffer,
           `Expect dtmfSender.toneBuffer to be updated to ${expectedToneBuffer}`);
 
         const now = Date.now();
         const duration = now - lastEventTime;
 
-        assert_approx_equals(duration, expectedDuration, 50,
+        assert_approx_equals(duration, expectedDuration, 150,
           `Expect tonechange event for "${tone}" to be fired approximately after ${expectedDuration} seconds`);
 
         lastEventTime = now;
 
         if(toneChanges.length === 0) {
           // Wait for same duration as last expected duration + 100ms
           // before passing test in case there are new tone events fired,
           // in which case the test should fail.