Bug 650545 - Test for bug 391728 needs to be explicit about its setTimeout requirements; r=Mossop
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 06 May 2014 21:11:11 -0400
changeset 181886 3618867b8525704937fabc9e75198e97d0f0f66e
parent 181885 1b3d6ef72fd8cab26ffcceebc7921a9c1ab8f165
child 181887 d577f45ed004e112e006919245d92e332337af8d
push id43163
push usereakhgari@mozilla.com
push dateWed, 07 May 2014 01:22:46 +0000
treeherdermozilla-inbound@ee4ee2b72573 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMossop
bugs650545, 391728
milestone32.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 650545 - Test for bug 391728 needs to be explicit about its setTimeout requirements; r=Mossop
content/base/test/chrome/test_bug391728.html
--- a/content/base/test/chrome/test_bug391728.html
+++ b/content/base/test/chrome/test_bug391728.html
@@ -113,17 +113,17 @@ function load_frame(nextTest, file) {
   frame.src = file + ".html?" + Math.random();
 }
 
 function next_text() {
   PluginUtils.withTestPlugin(gNextTest);
 }
 
 function frame_loaded() {
-  // We must delay to wait for the plugin sources to be loaded :(
+  SimpleTest.requestFlakyTimeout("We must delay to wait for the plugin sources to be loaded :(");
   setTimeout(next_text, 500);
 }
 
 function test_style(expected) {
   var frame = document.getElementById("testframe");
   for (var i = 1; i <= PLUGIN_COUNT; i++) {
     var tag = frame.contentDocument.getElementById("plugin" + i);
     ok(tag, "Plugin " + i + " did not exist");