Commit Graph
424 Commits
Author SHA1 Message Date
DrSeed Lu 6110cc4525 Bug 2039294 - Add the Open Tabs panel to the revamped sidebar r=kcochrane,nsharpley,fluent-reviewers,desktop-theme-reviewers,flod
Adds an Open Tabs panel to the revamped sidebar, gated behind the new
sidebar.openTabsPanel.enabled pref (default false) until the feature is
complete.

The panel reuses the existing Firefox View OpenTabs infrastructure
(getTabsTargetForWindow and OpenTabsController) and renders the current
window's tabs into the sidebar's sidebar-tab-list component. It listens
for TabChange events to stay in sync, and selecting a row activates the
corresponding tab.

Please Note: the panel is registered via registerPrefSidebar() rather than a
static generateSidebarsMap() entry, so its availability follows the
pref, consistent with the other pref-gated panels in the sidebar.
This also needed a label mapping in sidebar-customize.mjs and a
sidebar-menu-open-tabs-header string.
I am happy to adjust if you'd prefer a
different approach.

Search, sorting, multi-window grouping, the context menu, and telemetry
are deferred to follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D301981
2026-05-29 19:11:00 +00:00
Sylvestre Ledru 3fa0dd955d Bug 2036402 - Apply std::move in dom/security where values can be moved instead of copied r=tschuster
Differential Revision: https://phabricator.services.mozilla.com/D298101
2026-05-28 12:52:59 +00:00
Julian Descottes e114f94194 Bug 2028058 - [devtools] Migrate markup view from XHTML to HTML r=devtools-reviewers,nchevobbe
Switch the markupview document to HTML to avoid CM6 compatibility issues with XHTML

Differential Revision: https://phabricator.services.mozilla.com/D302100
2026-05-26 12:35:34 +00:00
Tom Schuster ab528f1654 Bug 2041328 - Don't fail in nsContentSecurityUtils::AssertChromePageHasCSP when security.chrome_baseline_csp.enabled is false. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D301779
2026-05-22 23:18:57 +00:00
Kai Engert faa92844c5 Bug 2038660 - Disable some chrome baseline CSP checks for Thunderbird. r=tschuster
Differential Revision: https://phabricator.services.mozilla.com/D301742
2026-05-21 13:34:50 +00:00
Tom Schuster fc182c2d61 Bug 2038660 - Automatically enforce a baseline CSP for all chrome: documents. r=smaug,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D299745
2026-05-20 14:25:53 +00:00
serge-sans-paille c7033d0d67 Bug 2030936 - Activate clang-tidy's performance-for-range-copy check r=sylvestre,tschuster,media-playback-reviewers,webrtc-reviewers,firefox-style-system-reviewers,layout-reviewers,janerik,padenot,bwc,emilio,alwu
And apply the auto-fix from the linter. Note that we exclude RefPtr from
the check as it plays badly with our CanRunScriptChecker's linter.

We also explicitly silent warning for loops on nsTObserverArray, as their
iterator is designed to support invalidation.

Differential Revision: https://phabricator.services.mozilla.com/D293497
2026-05-20 06:51:32 +00:00
Tom Ritter b32a3d5f95 Bug 2007589: Rip out all of the unexepected script load telemetry r=Gijs,tschuster,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D296154
2026-05-19 23:39:11 +00:00
Norisz Fay 231994f8e9 Revert "Bug 1610528: apply code formatting via Lando" for causing mochitest failure @ test_docload_root.html
This reverts commit 395dbb6782.

Revert "Bug 1610528 - Remove about:logo. r=dom-core,sthompson,tschuster,smaug,geckoview-reviewers,ohall,firefox-desktop-core-reviewers ,dao"

This reverts commit 7a7e757271.

Revert "Bug 1610528 - Add XPCShellContentUtils.registerAboutPage. r=robwu"

This reverts commit 2ae492c37d.
2026-05-06 21:32:41 +00:00
Lando 395dbb6782 Bug 1610528: apply code formatting via Lando
# ignore-this-changeset
2026-05-06 20:08:40 +00:00
Vincent Hilla 7a7e757271 Bug 1610528 - Remove about:logo. r=dom-core,sthompson,tschuster,smaug,geckoview-reviewers,ohall,firefox-desktop-core-reviewers ,dao
Differential Revision: https://phabricator.services.mozilla.com/D283655
2026-05-06 20:08:31 +00:00
agoloman 02b11e0ee2 Revert "Bug 2025622 - Create preview side of modal r=sharing-reviewers,fluent-reviewers,bolsson,jhirsch" for causing bc failures @browser_testShareTabGroup.js.
This reverts commit 937d83de95.
2026-04-30 22:09:46 +00:00
Nathan Barrett 937d83de95 Bug 2025622 - Create preview side of modal r=sharing-reviewers,fluent-reviewers,bolsson,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D295113
2026-04-30 20:26:49 +00:00
Kelly Cochrane 03681d7338 Bug 2024699 - Add tests for updated bookmarks panel in the sidebar r=nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D288727
2026-03-30 15:10:15 +00:00
Emilio Cobos Álvarez 5016086e1a Bug 2025089 - Remove some includes from nsINode.h and Element.h. r=dom-core,dom-storage-reviewers,firefox-svg-reviewers,janv,smaug
Differential Revision: https://phabricator.services.mozilla.com/D289049
2026-03-22 23:45:55 +00:00
Tom Schuster bafe7dba31 Bug 2024094 - Allow moz-remote-image: (SVG favicons) in about:firefoxview. r=fxview-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D288365
2026-03-20 14:17:06 +00:00
Tom Schuster 10091a903a Bug 2024160 - Allow moz-remote-image: (SVG favicons) in the synced tabs sidebar. r=Gijs,sync-reviewers,skhamis
Differential Revision: https://phabricator.services.mozilla.com/D288368
2026-03-19 12:07:20 +00:00
Sylvestre Ledru 9eb1a31a98 Bug 2023419 - Remove Emacs/Vim modelines from dom/ r=emilio,media-playback-reviewers,webidl,padenot
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287843
2026-03-16 21:02:32 +00:00
Tom Schuster 9e861a3766 Bug 2023389 - Allow moz-remote-image: on about:processes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D287924
2026-03-16 15:25:22 +00:00
Andrew Overholt 1b7bab6a1d Bug 1996321 - Add QR code entry to File > Share menu on macOS. r=mconley,fluent-reviewers,desktop-theme-reviewers,bolsson,emilio,urlbar-reviewers,daisuke,hsohaney,tschuster
Differential Revision: https://phabricator.services.mozilla.com/D270011
2026-03-11 14:29:31 +00:00
Elissa Cha 7175c0d187 Bug 2011266 - Integrate current tab website chip context in sidebar r=flozia,desktop-theme-reviewers,ai-frontend-reviewers,urlbar-reviewers,Standard8,mak
- Adds a website context chips header to the input box in sidebar mode. The header will always include current tab as context and updates the chip on navigation.
- Refactors website-chip-container to render website chips from a data array

Differential Revision: https://phabricator.services.mozilla.com/D281290
2026-02-20 02:25:27 +00:00
agoloman 71cbdd58a7 Revert "Bug 2011266 - Integrate current tab website chip context in sidebar r=flozia,desktop-theme-reviewers,ai-frontend-reviewers,urlbar-reviewers,Standard8,mak" for causing doc failures.
This reverts commit 25460eddec.
2026-02-20 00:25:30 +00:00
Elissa Cha 25460eddec Bug 2011266 - Integrate current tab website chip context in sidebar r=flozia,desktop-theme-reviewers,ai-frontend-reviewers,urlbar-reviewers,Standard8,mak
- Adds a website context chips header to the input box in sidebar mode. The header will always include current tab as context and updates the chip on navigation.
- Refactors website-chip-container to render website chips from a data array

Differential Revision: https://phabricator.services.mozilla.com/D281290
2026-02-19 23:33:09 +00:00
agoloman c187489c79 Revert "Bug 2011266 - Integrate current tab website chip context in sidebar r=flozia,desktop-theme-reviewers,ai-frontend-reviewers,urlbar-reviewers,Standard8,mak" for causing bc failures @browser_aiwindow_smartbar_mentions.js.
This reverts commit b075e4eda9.
2026-02-19 21:19:53 +00:00
Elissa Cha b075e4eda9 Bug 2011266 - Integrate current tab website chip context in sidebar r=flozia,desktop-theme-reviewers,ai-frontend-reviewers,urlbar-reviewers,Standard8,mak
- Adds a website context chips header to the input box in sidebar mode. The header will always include current tab as context and updates the chip on navigation.
- Refactors website-chip-container to render website chips from a data array

Differential Revision: https://phabricator.services.mozilla.com/D281290
2026-02-19 20:40:02 +00:00
Tom Schuster 0c4b7bfdf1 Bug 2001526 - Allow the page-icon: protocol by default as a CSP img-src in chrome documents. r=Gijs,simonf
Differential Revision: https://phabricator.services.mozilla.com/D280414
2026-01-27 19:45:53 +00:00
Florian Zia 43117be8f2 Bug 2008929 - Move Smartbar into AIWindow r=desktop-theme-reviewers,urlbar-reviewers,ai-frontend-reviewers,Mardak,Standard8,dao,tschuster
This moves the Smartbar into the AI Window page. To support this, the SmartbarInput now falls back to getting the browser window when gBrowser is not available in the current window context.

The Smartbar currently dependents on global Urlbar and browser styles. Making it independent for in-page use will be addressed with Bug 2008938.

Differential Revision: https://phabricator.services.mozilla.com/D278113
2026-01-21 07:59:41 +00:00
Atila Butkovits 602449d3c7 Revert "Bug 2008929, Bug 2008544, Bug 2008542 - Move Smartbar into AIWindow r=desktop-theme-reviewers,urlbar-reviewers,ai-frontend-reviewers,Mardak,Standard8,dao,tschuster" for causing failures at browser_conversation_stream.js.
This reverts commit fe3882d97f.

Revert "Bug 2008544, 2008542 - Part 2: Update AI Window input CTA button styling r=ai-frontend-reviewers,Mardak"

This reverts commit 2ebc050f86.

Revert "Bug 2008544, 2008542 - Part 1: Add AI Window input CTA button to Smartbar r=desktop-theme-reviewers,urlbar-reviewers,ai-frontend-reviewers,fluent-reviewers,Mardak,bolsson,Gijs,dao"

This reverts commit 1d893af515.
2026-01-20 15:36:48 +00:00
Florian Zia fe3882d97f Bug 2008929 - Move Smartbar into AIWindow r=desktop-theme-reviewers,urlbar-reviewers,ai-frontend-reviewers,Mardak,Standard8,dao,tschuster
This moves the Smartbar into the AI Window page. To support this, the SmartbarInput now falls back to getting the browser window when gBrowser is not available in the current window context.

The Smartbar currently dependents on global Urlbar and browser styles. Making it independent for in-page use will be addressed with Bug 2008938.

Differential Revision: https://phabricator.services.mozilla.com/D278113
2026-01-20 14:10:02 +00:00
James Han 8f7000df80 Bug 2010586 - Remove remaining references to old clear history dialog. r=manuel,tschuster,kpatenio
Removes dead code referencing the old clear history dialog:
- Backup component: removed useOldClearHistoryDialog pref checks and old v1 shutdown prefs
- C++ allowlist: removed entries for deleted sanitize.xhtml and clearSiteData.xhtml files

Differential Revision: https://phabricator.services.mozilla.com/D279160
2026-01-16 19:32:34 +00:00
Tom Ritter 10cbbf5d10 Bug 2007588: Enforce JavaScript Load Restrictions and let it ride the trains r=tschuster
Differential Revision: https://phabricator.services.mozilla.com/D277469
2026-01-12 15:50:38 +00:00
Lando 6e57507de7 Bug 1997282: apply code formatting via Lando
# ignore-this-changeset
2026-01-12 15:15:37 +00:00
Tom Schuster d5e707e800 Bug 1997282 - Use Notification image in XUL alerts. r=saschanaz,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D275222
2026-01-12 15:15:23 +00:00
Kelly Cochrane 3554df13c0 Bug 2000938 - Add follow-up updates to about:opentabs r=desktop-theme-reviewers,fxview-reviewers,tabbrowser-reviewers,fluent-reviewers,sfoster,bolsson,sclements,tschuster
Differential Revision: https://phabricator.services.mozilla.com/D274055
2025-12-08 13:56:42 +00:00
Tom Schuster 8b39e2f000 Bug 1844792 - Use moz-remote-image: for appChooser.xhtml. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D273194
2025-11-21 08:27:48 +00:00
Tom Schuster f37b7dac5c Bug 2001386 - Support moz-src: in nsContentSecurityUtils::FilenameToFilenameType. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D273457
2025-11-21 08:26:41 +00:00
Tom Schuster 92a4d5250a Bug 2000535 - Use moz-remote-image: for _getIconURLForWebApp. r=akulyk
Differential Revision: https://phabricator.services.mozilla.com/D272846
2025-11-20 18:07:12 +00:00
agoloman ebac7cf204 Revert "Bug 1996240: Add a method to migrate old style profiles to the new profiles system. r=profiles-reviewers,fluent-reviewers,bolsson,jhirsch,desktop-theme-reviewers,hjones,tschuster" as requested by Mossop.
This reverts commit 0ddf254101.
2025-11-19 15:32:46 +00:00
Dave Townsend 0ddf254101 Bug 1996240: Add a method to migrate old style profiles to the new profiles system. r=profiles-reviewers,fluent-reviewers,bolsson,jhirsch,desktop-theme-reviewers,hjones,tschuster
Adds a Migrate button to profiles in about:profiles that are elligible for migration. This is profiles
that are not currently in use and don't already have multiple profiles grouped with them.

Differential Revision: https://phabricator.services.mozilla.com/D270525
2025-11-19 14:49:22 +00:00
Tom Schuster 0b9ec9c494 Bug 1995573 - Block privileged eval on Android in Nightly. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D270309
2025-10-29 15:23:30 +00:00
Lando 3f47f521fb Bug 1980376: apply code formatting via Lando
# ignore-this-changeset
2025-10-29 15:20:15 +00:00
Tom Schuster d28dc3d6d1 Bug 1980376 - Restrict pageInfo.xhtml CSP. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D259570
2025-10-29 15:20:04 +00:00
serge-sans-paille 7662b3abdc Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 19:36:01 +00:00
Cristina Horotan 8a1b1970b7 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing Gtest failures on AlreadyAddRefed.h
This reverts commit e98adca292.
2025-10-21 16:16:29 +00:00
serge-sans-paille e98adca292 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 15:05:17 +00:00
Cristina Horotan aab924e90d Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing build bustage at nsBrowserApp.cpp
This reverts commit fd0ffa193c.
2025-10-21 10:44:13 +00:00
serge-sans-paille fd0ffa193c Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 09:44:11 +00:00
Narcis Beleuzu e1e6bbb1c9 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing bustages on Document.cpp
This reverts commit b23c15e927.
2025-10-21 06:34:58 +00:00
serge-sans-paille b23c15e927 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 06:01:36 +00:00
Tom Schuster 15c5379259 Bug 1994973 - Actually detect privileged eval usage on Android. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D269029
2025-10-17 15:55:51 +00:00