Bug 1253816 - requestLongerTimeout due to timeouts in debug builds. r?jmaher
MozReview-Commit-ID: LQwZxGQ9gAY
--- a/browser/base/content/test/general/browser_web_channel.js
+++ b/browser/base/content/test/general/browser_web_channel.js
@@ -9,16 +9,18 @@ XPCOMUtils.defineLazyModuleGetter(this,
"resource://gre/modules/WebChannel.jsm");
const HTTP_PATH = "http://example.com";
const HTTP_ENDPOINT = "/browser/browser/base/content/test/general/browser_web_channel.html";
const HTTP_MISMATCH_PATH = "http://example.org";
const HTTP_IFRAME_PATH = "http://mochi.test:8888";
const HTTP_REDIRECTED_IFRAME_PATH = "http://example.org";
+requestLongerTimeout(2); // timeouts in debug builds.
+
// Keep this synced with /mobile/android/tests/browser/robocop/testWebChannel.js
// as much as possible. (We only have that since we can't run browser chrome
// tests on Android. Yet?)
var gTests = [
{
desc: "WebChannel generic message",
*run() {
return new Promise(function(resolve, reject) {