Bug 1308679 - Request a longer timeout for the tests that use first party isolation test framework. r?baku
--- a/browser/components/originattributes/test/browser/head.js
+++ b/browser/components/originattributes/test/browser/head.js
@@ -276,16 +276,21 @@ this.IsolationTestTools = {
* An optional function which is called before any tabs are created so
* that the test case can set up/reset local state.
*/
runTests(aURL, aGetResultFuncs, aCompareResultFunc, aBeforeFunc) {
let pageURL;
let firstFrameSetting;
let secondFrameSetting;
+ // Request a longer timeout since the test will run a test for three times
+ // with different settings. Thus, one test here represents three tests.
+ // For this reason, we triple the timeout.
+ requestLongerTimeout(3);
+
if (typeof aURL === "string") {
pageURL = aURL;
} else if (typeof aURL === "object") {
pageURL = aURL.url;
firstFrameSetting = aURL.firstFrameSetting;
secondFrameSetting = aURL.secondFrameSetting;
}