tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit b05e43cf8a933705407365759dd1f8563f7d44f5
parent 490dda6c65413dc248f852af5fa7e1d29add4189
Author: Jeremy Swinarton <jswinarton@mozilla.com>
Date:   Mon, 29 Dec 2025 23:00:58 +0000

Bug 2007261: Fix permafail on browser_tab_preview.js in beta r=sthompson,tabbrowser-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D277616

Diffstat:
Mbrowser/components/tabbrowser/test/browser/tabs/browser_tab_preview.js | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/browser/components/tabbrowser/test/browser/tabs/browser_tab_preview.js b/browser/components/tabbrowser/test/browser/tabs/browser_tab_preview.js @@ -558,6 +558,10 @@ add_task(async function tabContentChangeTests() { * Test that if a note is set on a tab, the note appears in the preview panel */ add_task(async function tabNotesTests() { + await SpecialPowers.pushPrefEnv({ + set: [["browser.tabs.notes.enabled", true]], + }); + const previewPanel = document.getElementById(TAB_PREVIEW_PANEL_ID); const noteText = "Hello world"; @@ -598,6 +602,7 @@ add_task(async function tabNotesTests() { BrowserTestUtils.removeTab(tab); await resetState(); + await SpecialPowers.popPrefEnv(); }); /*