Bug 1112967 - consolidate all 50 calls to requestFlkayTimeout in WebRTC tests into one. r=bwc

This commit is contained in:
Nils Ohlmeier [:drno] 2014-12-17 19:09:00 +01:00
parent e532623b69
commit d0f70c9e3d
55 changed files with 1 additions and 111 deletions

View File

@ -128,6 +128,7 @@ function runTest(aCallback) {
if (window.SimpleTest) {
// Running as a Mochitest.
SimpleTest.waitForExplicitFinish();
SimpleTest.requestFlakyTimeout("WebRTC inherently depends on timeouts");
SpecialPowers.pushPrefEnv({'set': [
['dom.messageChannel.enabled', true],
['media.peerconnection.enabled', true],

View File

@ -10,9 +10,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
title: "getIdentityAssertion Tests"
});

View File

@ -14,9 +14,6 @@
<div id="display"></div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
title: "setIdentityProvider leads to peerIdentity and assertions in SDP"
});

View File

@ -12,9 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
title: "setIdentityProvider leads to peerIdentity and assertions in SDP"
});

View File

@ -11,9 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
title: "Identity Provider returning errors is handled correctly"
});

View File

@ -11,7 +11,6 @@
"use strict";
SimpleTest.waitForExplicitFinish();
SimpleTest.requestFlakyTimeout("untriaged");
// This isn't a single test. It runs the entirety of the PeerConnection
// tests. Each of those has a normal timeout handler, so there's no point in

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796895",
title: "Basic data channel audio connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796891",
title: "Basic data channel audio/video connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796891",
title: "Basic data channel audio/video connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796894",
title: "Basic datachannel only connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796889",
title: "Basic data channel video connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796895",
title: "Basic data channel audio connection"

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=781534
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for an audio LocalMediaStream on an audio HTMLMediaElement.

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=983504
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for an screenshare LocalMediaStream on a video HTMLMediaElement.

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=781534
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for an video LocalMediaStream on a video HTMLMediaElement.

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=781534
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for a video and audio LocalMediaStream on a video HTMLMediaElement.

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=983504
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for an screenshare LocalMediaStream on a video HTMLMediaElement.

View File

@ -20,8 +20,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test that we can complete a playback cycle for a video,
* then upon completion, do a playback cycle with audio, such that

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=942367
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
function theTest() {
function testPeerIdentityConstraint(withConstraint, done) {
var config = { audio: true, video: true, fake: true };

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test that we can complete an audio playback cycle twice in a row.
*/

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test that we can complete a video playback cycle twice in a row.
*/

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test that we can complete a video playback cycle twice in a row.
*/

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can start an audio stream in a media element,
* call stop() on the stream, and successfully get an ended event fired.

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that I can complete an audio gum playback in a media
* element, stop the stream, and then complete another audio gum playback

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can start a video+audio stream in a
* media element, call stop() on the stream, and successfully get an

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that I can complete an video+audio gum playback in a
* media element, stop the stream, and then complete another video+audio gum

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that we can start a video stream in a media element,
* call stop() on the stream, and successfully get an ended event fired.

View File

@ -19,8 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
/**
* Run a test to verify that I can complete an audio gum playback in a media
* element, stop the stream, and then complete another audio gum playback

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "addCandidate (answer) in 'have-local-offer'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796892",
title: "Basic audio-only peer connection"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796890",
title: "Basic audio/video (separate) peer connection"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796890",
title: "Basic audio/video (combined) peer connection"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript;version=1.8">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1040346",
title: "Basic H.264 GMP video-only peer connection"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1039666",
title: "Basic screenshare-only peer connection"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "796888",
title: "Basic video-only peer connection"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1038926",
title: "Basic windowshare-only peer connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1013809",
title: "Audio-only peer connection with swapped setLocal and setRemote steps"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript;version=1.8">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1040346",
title: "Basic H.264 GMP video-only peer connection"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "827843",
title: "Ensure that localDescription and remoteDescription are null after close"

View File

@ -13,8 +13,6 @@
<video id="v1" src="../../test/vp9cake.webm" height="120" width="160" autoplay muted></video>
<pre id="test">
<script type="application/javascript;version=1.8">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1081409",
title: "Captured video-only over peer connection",

View File

@ -9,8 +9,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "991877",
title: "Basic RTCPeerConnection.close() tests"

View File

@ -13,8 +13,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1060102",
title: "Basic audio only SDP answer without trickle ICE"

View File

@ -13,8 +13,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1060102",
title: "Basic audio only SDP offer without trickle ICE"

View File

@ -13,8 +13,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1060102",
title: "Basic audio only SDP offer and answer without trickle ICE"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "850275",
title: "Simple offer media constraint test with audio"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "850275",
title: "Simple offer media constraint test with video"

View File

@ -11,8 +11,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "850275",
title: "Simple offer media constraint test with video/audio"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript;version=1.8">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1032839",
title: "Replace video track",

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "setLocalDescription (answer) in 'have-local-offer'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "setLocalDescription (answer) in 'stable'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "setLocalDescription (offer) in 'have-remote-offer'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "setRemoteDescription (answer) in 'have-remote-offer'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "setRemoteDescription (answer) in 'stable'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "784519",
title: "setRemoteDescription (offer) in 'have-local-offer'"

View File

@ -12,8 +12,6 @@
<body>
<pre id="test">
<script type="application/javascript;version=1.8">
SimpleTest.requestFlakyTimeout("untriaged");
createHTML({
bug: "1063971",
title: "Legacy sync setDescription calls",