commit 4f3978d23032fa24e473fff17fa8c8c80ee34922
parent c723b9bc8d29e9f2dfe595d308ace5422fed4b0b
Author: Sam Foster <sam@sam-i-am.com>
Date: Mon, 1 Dec 2025 06:53:22 +0000
Bug 2002641 - Correct which element to look for the toolbar_bottom_separator color on when sidebar.revamp=true. r=extension-reviewers,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D274198
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/toolkit/components/extensions/test/browser/browser_ext_themes_separators.js b/toolkit/components/extensions/test/browser/browser_ext_themes_separators.js
@@ -65,8 +65,9 @@ add_task(async function test_support_separator_properties() {
);
let separatorColor = Services.prefs.getBoolPref("sidebar.revamp", false)
- ? window.getComputedStyle(document.querySelector("#tabbrowser-tabbox"))
- .outlineColor
+ ? window.getComputedStyle(
+ document.querySelector("#tabbrowser-tabbox .browserContainer")
+ ).outlineColor
: window.getComputedStyle(document.querySelector("#navigator-toolbox"))
.borderBottomColor;
Assert.equal(