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
--- 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!
*/