Bug 1388342 - Ensure browser_tabstrip_overflow_underflow_reflows.js works for both the e10s and non-e10s case. r?florian draft
authorMike Conley <mconley@mozilla.com>
Wed, 09 Aug 2017 11:24:49 -0400
changeset 643299 aaf436bc7930edd781b0a468f468fe182a79392e
parent 642518 a921bfb8a2cf3db4d9edebe9b35799a3f9d035da
child 643539 464e959141dc5b18859265f4a342dc3f137ff2f7
push id73055
push usermconley@mozilla.com
push dateWed, 09 Aug 2017 15:28:06 +0000
reviewersflorian
bugs1388342
milestone57.0a1
Bug 1388342 - Ensure browser_tabstrip_overflow_underflow_reflows.js works for both the e10s and non-e10s case. r?florian We hit the _adjustFocusAfterTabSwitch function in both the e10s and non-e10s cases, but through different code paths. This makes the expected stack less specific to account for both cases. MozReview-Commit-ID: AI4KLUNjUqZ
browser/base/content/test/performance/browser_tabstrip_overflow_underflow_reflows.js
--- a/browser/base/content/test/performance/browser_tabstrip_overflow_underflow_reflows.js
+++ b/browser/base/content/test/performance/browser_tabstrip_overflow_underflow_reflows.js
@@ -10,27 +10,16 @@
  * for tips on how to do that.
  */
 const EXPECTED_OVERFLOW_REFLOWS = [
   {
     stack: [
       "select@chrome://global/content/bindings/textbox.xml",
       "focusAndSelectUrlBar@chrome://browser/content/browser.js",
       "_adjustFocusAfterTabSwitch@chrome://browser/content/tabbrowser.xml",
-      "updateDisplay/<@chrome://browser/content/tabbrowser.xml",
-      "set_selectedIndex@chrome://browser/content/tabbrowser.xml",
-      "set_selectedPanel@chrome://global/content/bindings/tabbox.xml",
-      "set_selectedIndex@chrome://global/content/bindings/tabbox.xml",
-      "set_selectedItem@chrome://global/content/bindings/tabbox.xml",
-      "set_selectedTab@chrome://global/content/bindings/tabbox.xml",
-      "set_selectedTab@chrome://browser/content/tabbrowser.xml",
-      "loadOneTab@chrome://browser/content/tabbrowser.xml",
-      "openLinkIn@chrome://browser/content/utilityOverlay.js",
-      "openUILinkIn@chrome://browser/content/utilityOverlay.js",
-      "BrowserOpenTab@chrome://browser/content/browser.js",
     ]
   },
 ];
 
 const EXPECTED_UNDERFLOW_REFLOWS = [
   /**
    * Nothing here! Please don't add anything new!
    */