Bug 1319628 - Remove longer timeouts from individual RDM tests. r=me
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 22 Nov 2016 19:57:47 -0600
changeset 323904 abda7b3c4efc9207b29872d376c9114d580b50cd
parent 323903 3e0850dcf03ecc24f988c93cf0f98cd45989b17f
child 323905 ed6e2e4ca5014474b4e8d1d2cd1c5b664f4c0e25
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersme
bugs1319628
milestone53.0a1
Bug 1319628 - Remove longer timeouts from individual RDM tests. r=me MozReview-Commit-ID: LsYKx98YvLH
devtools/client/responsive.html/test/browser/browser_resize_cmd.js
devtools/client/responsive.html/test/browser/browser_toolbox_computed_view.js
devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js
--- a/devtools/client/responsive.html/test/browser/browser_resize_cmd.js
+++ b/devtools/client/responsive.html/test/browser/browser_resize_cmd.js
@@ -1,19 +1,16 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
 /* global ResponsiveUIManager */
 /* eslint key-spacing: 0 */
 
-// This test is too slow for debug builds (bug 1297205)
-requestLongerTimeout(2);
-
 add_task(function* () {
   let manager = ResponsiveUIManager;
   let done;
 
   function isOpen() {
     return ResponsiveUIManager.isActiveForTab(gBrowser.selectedTab);
   }
 
--- a/devtools/client/responsive.html/test/browser/browser_toolbox_computed_view.js
+++ b/devtools/client/responsive.html/test/browser/browser_toolbox_computed_view.js
@@ -1,17 +1,13 @@
 /* Any copyright is dedicated to the Public Domain.
    http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
-// On debug builds in particular, this test file seems to time out fairly
-// frequently.
-requestLongerTimeout(2);
-
 // Check that when the viewport is resized, the computed-view refreshes.
 
 const TEST_URI = "data:text/html;charset=utf-8,<html><style>" +
                  "div {" +
                  "  width: 500px;" +
                  "  height: 10px;" +
                  "  background: purple;" +
                  "} " +
--- a/devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js
+++ b/devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js
@@ -2,19 +2,16 @@
    http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
 // Verify that toolbox remains open when opening and closing RDM.
 
 const TEST_URL = "http://example.com/";
 
-// Bug 1297575: Too slow for debug runs
-requestLongerTimeout(2);
-
 function getServerConnections(browser) {
   ok(browser.isRemoteBrowser, "Content browser is remote");
   return ContentTask.spawn(browser, {}, function* () {
     const Cu = Components.utils;
     const { require } = Cu.import("resource://devtools/shared/Loader.jsm", {});
     const { DebuggerServer } = require("devtools/server/main");
     if (!DebuggerServer._connections) {
       return 0;