Bug 587603: Request longer timeout for tests. r=mossop

This commit is contained in:
Bas Schouten 2010-08-18 05:43:49 +02:00
parent 12dd2f3c6a
commit 290bb741b9
2 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,12 @@ var gInstallProperties = [{
}]; }];
function test() { function test() {
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
if (Components.classes["@mozilla.org/gfx/info;1"].getService(Components.interfaces.nsIGfxInfo).D2DEnabled) {
requestLongerTimeout(2);
}
} catch(e) {}
waitForExplicitFinish(); waitForExplicitFinish();
gProvider = new MockProvider(); gProvider = new MockProvider();

View File

@ -10,6 +10,7 @@ var gCategoryUtilities;
var gProvider; var gProvider;
function test() { function test() {
requestLongerTimeout(2);
waitForExplicitFinish(); waitForExplicitFinish();
gProvider = new MockProvider(); gProvider = new MockProvider();