[Australis] update browser_901207_searchbar_in_panel.js for bug 951928
authorDão Gottwald <dao@mozilla.com>
Mon, 13 Jan 2014 11:58:43 +0100
changeset 163153 b735ff10fdb3b109bdd93d2f142b3de21a29020f
parent 163152 2edc821cd2da45401bfa1770aece6c4e6d78d2cd
child 163154 e23526533508ac9838fc7d3b733e8809dc898624
push id25983
push userryanvm@gmail.com
push dateMon, 13 Jan 2014 22:37:56 +0000
treeherdermozilla-central@34697b7131dd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs951928
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
[Australis] update browser_901207_searchbar_in_panel.js for bug 951928
browser/components/customizableui/test/browser_901207_searchbar_in_panel.js
--- a/browser/components/customizableui/test/browser_901207_searchbar_in_panel.js
+++ b/browser/components/customizableui/test/browser_901207_searchbar_in_panel.js
@@ -47,17 +47,17 @@ add_task(function() {
 
 // Ctrl+K should open the overflow panel and focus the search bar if the search bar is overflowed.
 add_task(function() {
   this.originalWindowWidth = window.outerWidth;
   let navbar = document.getElementById(CustomizableUI.AREA_NAVBAR);
   ok(!navbar.hasAttribute("overflowing"), "Should start with a non-overflowing toolbar.");
   ok(CustomizableUI.inDefaultState, "Should start in default state.");
 
-  window.resizeTo(480, window.outerHeight);
+  window.resizeTo(390, window.outerHeight);
   yield waitForCondition(() => navbar.hasAttribute("overflowing"));
   ok(!navbar.querySelector("#search-container"), "Search container should be overflowing");
   let searchbar = document.getElementById("searchbar");
 
   let shownPanelPromise = promiseOverflowShown(window);
   sendWebSearchKeyCommand();
   yield shownPanelPromise;