Bug 1369140 - Part 4: Test that window opening no longer incurs a reflow in focusAndSelectUrlBar
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 01 Jun 2017 10:20:29 -0400
changeset 409976 127a680118649fe0492d6e7f2132a74c8c711aeb
parent 409975 20250e1b5b64cbb4ac31ffb2ec253416ec460b6d
child 409977 299efa8c78ee9674d473b029d11916962e8e189e
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1369140
milestone55.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
Bug 1369140 - Part 4: Test that window opening no longer incurs a reflow in focusAndSelectUrlBar
browser/base/content/test/performance/browser_windowopen_reflows.js
--- a/browser/base/content/test/performance/browser_windowopen_reflows.js
+++ b/browser/base/content/test/performance/browser_windowopen_reflows.js
@@ -11,24 +11,22 @@
  *
  * See https://developer.mozilla.org/en-US/Firefox/Performance_best_practices_for_Firefox_fe_engineers
  * for tips on how to do that.
  */
 const EXPECTED_REFLOWS = [
   // Selecting the address bar causes two reflows, unfortunately.
   [
     "select@chrome://global/content/bindings/textbox.xml",
-    "focusAndSelectUrlBar@chrome://browser/content/browser.js",
     "_delayedStartup@chrome://browser/content/browser.js",
   ],
 
   // Selecting the address bar causes two reflows, unfortunately.
   [
     "select@chrome://global/content/bindings/textbox.xml",
-    "focusAndSelectUrlBar@chrome://browser/content/browser.js",
     "_delayedStartup@chrome://browser/content/browser.js",
   ],
 ];
 
 if (Services.appinfo.OS == "Darwin") {
   // TabsInTitlebar._update causes a reflow on OS X trying to do calculations
   // since layout info is already dirty. This doesn't seem to happen before
   // MozAfterPaint on Linux.