Bug 1101300 - Increase the timeout of browser_970511_undo_restore_default.js a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 31 Dec 2015 17:35:47 -0500
changeset 310634 bb9e09ca52444d00701e7d8e25aeb1d15268ba8d
parent 310633 d28539a404b81ebcfddc14704f73e26daebdc761
child 310635 f2e9f464ab8e67a79ecd7d1d5ca75d8b539e47f3
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1101300
milestone45.0a2
Bug 1101300 - Increase the timeout of browser_970511_undo_restore_default.js a=test-only
browser/components/customizableui/test/browser_970511_undo_restore_default.js
--- a/browser/components/customizableui/test/browser_970511_undo_restore_default.js
+++ b/browser/components/customizableui/test/browser_970511_undo_restore_default.js
@@ -1,14 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
+requestLongerTimeout(2);
+
 // Restoring default should show an "undo" option which undoes the restoring operation.
 add_task(function() {
   let homeButtonId = "home-button";
   CustomizableUI.removeWidgetFromArea(homeButtonId);
   yield startCustomizing();
   ok(!CustomizableUI.inDefaultState, "Not in default state to begin with");
   is(CustomizableUI.getPlacementOfWidget(homeButtonId), null, "Home button is in palette");
   let undoResetButton = document.getElementById("customization-undo-reset-button");