Bug 1183955 - longer timeouts for timeout-prone tests on B2G. r=cpearce.

This commit is contained in:
JW Wang 2015-07-16 10:09:51 +08:00
parent 0c2388393d
commit 89c4a876ba
3 changed files with 14 additions and 0 deletions

View File

@ -15,6 +15,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=495145
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=495145">Mozilla Bug 495145</a>
<pre id="test">
<script class="testbody" type="text/javascript">
//longer timeout for slow platforms
if (isSlowPlatform()) {
SimpleTest.requestLongerTimeout(1.5);
}
var manager = new MediaTestManager;

View File

@ -9,6 +9,11 @@
<body>
<pre id="test">
<script class="testbody" type="text/javascript">
//longer timeout for slow platforms
if (isSlowPlatform()) {
SimpleTest.requestLongerTimeout(1.5);
}
var manager = new MediaTestManager;
var canvas = document.createElement('canvas');

View File

@ -9,6 +9,11 @@
<body>
<pre id="test">
<script class="testbody" type="text/javascript">
//longer timeout for slow platforms
if (isSlowPlatform()) {
SimpleTest.requestLongerTimeout(1.5);
}
var manager = new MediaTestManager;
function startTest(test, token) {