Alex Kontos
6d4862fcc8
feat: add session restore checkbox when quitting the browser
...
(cherry picked from commit 25890584ab485be765a2e4eff47e38f903a0ae24)
2025-11-06 14:13:37 +00:00
Gijs Kruitbosch
5adc9375da
Bug 1973149 - fix form validation message not updating if the form validation popup is already open, a=diannaS
...
Original Revision: https://phabricator.services.mozilla.com/D254824
Differential Revision: https://phabricator.services.mozilla.com/D258550
2025-07-24 17:53:33 +00:00
James Teow
f3267d9d24
Bug 1962681 - r=Standard8 a=dmeehan
...
Differential Revision: https://phabricator.services.mozilla.com/D250488
2025-06-12 00:06:03 +00:00
Mark Banner
8a3c99b9cb
Bug 1966662 - Migrate most of toolkit/components/search to moz-src uris. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D249563
2025-05-17 17:38:49 +00:00
Greg Stoll
036a0bca8e
Bug 1955250 - make Content Analysis able to display tab-modal dialogs in sidebar r=dlp-reviewers,desktop-theme-reviewers,reusable-components-reviewers,sidebar-reviewers,mstriemer,emz,handyman,nika,jsudiaman,emilio
...
Content Analysis needs to be able to show a tab-modal dialog in the
sidebar, in case users paste text into a GenAI chatbot, etc. The dialogs
need to be tab-modal because the "DLP busy" dialog needs to be closable
by the JS code when the operation is done.
This change detects whether a dialog is trying to be displayed from a
browser inside the sidebar and shows it correctly.
Note that this does not change how extensions behave; if they try to
display a tab-modal dialog it will end up being window-modal (see
discussion in bug 1680066 and bug 1513656). I had a patch to fix this
but ran into some window leaks during tests that I was unable to address.
Differential Revision: https://phabricator.services.mozilla.com/D242957
2025-05-17 15:32:35 +00:00
Mark Banner
cd639ffbbf
Bug 1963781 - Improve some type definitions in the browser/components/search code. r=mbeier
...
Differential Revision: https://phabricator.services.mozilla.com/D247423
2025-05-13 18:36:08 +00:00
Moritz Beier
094ffaecef
Bug 1960237 - Only offer "Add Search Engine" for forms with an explicit action attribute. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D247775
2025-05-12 09:08:28 +00:00
Alexandru Marc
ccce73c96b
Revert "Bug 1960237 - Only offer "Add Search Engine" for forms with an explicit action attribute. r=search-reviewers,scunnane" for causing bc failures @ browser_search_userEngineDialog.js
...
This reverts commit 0a65c6f1cb .
Revert "Bug 1661664 - Part 3: Add tests for UserSearchEngine favicons. r=search-reviewers,Standard8,settings-reviewers,mossop"
This reverts commit f093133692 .
Revert "Bug 1661664 - Part 2: Include favicon when adding custom search engine. r=Standard8"
This reverts commit 8a4a96e8b8 .
Revert "Bug 1661664 - Part 1: Add changeIcon method to UserSearchEngine. r=Standard8,settings-reviewers,mossop"
This reverts commit 15a19beb80 .
2025-05-09 22:07:01 +00:00
Moritz Beier
0a65c6f1cb
Bug 1960237 - Only offer "Add Search Engine" for forms with an explicit action attribute. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D247775
2025-05-09 20:33:51 +00:00
agoloman
0bd8d7ae2e
Revert "Bug 1960237 - for causing xpc failures @test_userEngine.js.
...
This reverts commit 69c71c02b7 .
Revert "Bug 1661664 - Part 3: Add tests for UserSearchEngine favicons. r=search-reviewers,Standard8,settings-reviewers,mossop"
This reverts commit ae924c0d7f .
Revert "Bug 1661664 - Part 2: Include favicon when adding custom search engine. r=Standard8"
This reverts commit 9ba1a99736 .
Revert "Bug 1661664 - Part 1: Add changeIcon method to UserSearchEngine. r=Standard8,settings-reviewers,mossop"
This reverts commit 0077af7276 .
2025-05-09 16:23:44 +00:00
Moritz Beier
69c71c02b7
Bug 1960237 - Only offer "Add Search Engine" for forms with an explicit action attribute. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D247775
2025-05-09 15:41:43 +00:00
Beth Rennie
ccc6e46f8c
Bug 1961629 - Use ExperimentFeature.getEnrollmentMetadata() in browser/actors r=omc-reviewers,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D247472
2025-05-01 21:31:02 +00:00
Gijs Kruitbosch
29ef9eb1e3
Bug 1959298 - improve SERP search params handling, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D245040
2025-04-24 22:56:11 +00:00
Daisuke Akatsuka
7a880efa89
Bug 1915762: Apply getFaviconForPage() in AboutReader r=mak
...
Depends on D241349
Differential Revision: https://phabricator.services.mozilla.com/D239489
2025-04-23 04:40:34 +00:00
Cristian Tuns
a9d8f21da6
Backed out 11 changesets (bug 1915762) for causing node failures in gecko.d.ts CLOSED TREE
...
Backed out changeset 5c7edcb3b105 (bug 1915762)
Backed out changeset 05691232a461 (bug 1915762)
Backed out changeset 964a29c9a07a (bug 1915762)
Backed out changeset 5d74e419e249 (bug 1915762)
Backed out changeset 677c35e884d3 (bug 1915762)
Backed out changeset 8a7b0b87a0ef (bug 1915762)
Backed out changeset 5e38449cd4d9 (bug 1915762)
Backed out changeset ec8a0553d97a (bug 1915762)
Backed out changeset fb2232e5f3b5 (bug 1915762)
Backed out changeset b290501f5832 (bug 1915762)
Backed out changeset 9955e42e749b (bug 1915762)
2025-04-22 22:15:19 -04:00
Daisuke Akatsuka
a820798cfa
Bug 1915762: Apply getFaviconForPage() in AboutReader r=mak
...
Depends on D241349
Differential Revision: https://phabricator.services.mozilla.com/D239489
2025-04-23 01:49:39 +00:00
Iulian Moraru
0dae2e4ec5
Backed out 4 changesets (bug 1959298) for causing bc failures on browser_Manifest_install.js. CLOSED TREE
...
Backed out changeset ef842ad5ff0c (bug 1959298 )
Backed out changeset 37d6a257d32b (bug 1959298 )
Backed out changeset cb96c92ac472 (bug 1959298 )
Backed out changeset d9c8211f83fe (bug 1959298 )
2025-04-14 21:55:09 +03:00
Gijs Kruitbosch
78c9d99764
Bug 1959298 - improve SERP search params handling, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D245040
2025-04-14 16:16:06 +00:00
Pier Angelo Vendrame
de08a2f539
Bug 1958759 - Removed unused RFPHelperParent.sys.mjs. r=anti-tracking-reviewers,manuel
...
Differential Revision: https://phabricator.services.mozilla.com/D244544
2025-04-07 11:28:55 +00:00
Gijs Kruitbosch
1f9bc17f1b
Bug 1956101 - use child context for private browsing determination in ContentSearch code, r=Standard8
...
Also updating to use a sprinkling more modern JS and getting PB info directly from the actor's window global.
Differential Revision: https://phabricator.services.mozilla.com/D242825
2025-04-02 19:02:28 +00:00
Francesco Lodolo (:flod)
09b596616a
Bug 1956164 - Refactor WebRTC and pref code to use explicit Fluent IDs, remove more unused strings, r=settings-reviewers,emz,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D242883
2025-04-01 19:16:18 +00:00
Florian Quèze
9bc61f69d8
Bug 1950710 - Migrate histograms to use Glean APIs for FULLSCREEN_CHANGE_MS, r=chutten,pip-reviewers,mconley.
...
Differential Revision: https://phabricator.services.mozilla.com/D242233
2025-03-26 15:25:39 +00:00
Nathan Barrett
3df69e20a2
Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer,maxx
...
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-25 14:34:05 +00:00
Stanca Serban
92c3bbb32a
Backed out 4 changesets (bug 1954848, bug 1951426, bug 1951782, bug 1953632) for causing xpcshell failures in test_NewTabMessaging.js. CLOSED TREE
...
Backed out changeset b2ee50813323 (bug 1954848)
Backed out changeset 211563f87799 (bug 1953632)
Backed out changeset 5003a2a06685 (bug 1951782)
Backed out changeset 4a882623c86d (bug 1951426)
2025-03-24 20:46:17 +02:00
Nathan Barrett
84c498dc3b
Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer,maxx
...
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-24 17:42:04 +00:00
Francesco Lodolo (:flod)
a691382ad2
Bug 1954994 - Remove unused strings in browser, avoid run-time ID generation r=fluent-reviewers,bolsson,settings-reviewers,Gijs,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D242147
2025-03-22 11:08:01 +00:00
Goloman Adrian
ac2cd44a24
Backed out 4 changesets (bug 1953632, bug 1951782, bug 1951426, bug 1954848) for causing build bustages. CLOSED TREE
...
Backed out changeset 6825e2911771 (bug 1954848)
Backed out changeset 56f68e9e9ab5 (bug 1953632)
Backed out changeset bda4413155d7 (bug 1951782)
Backed out changeset 04623acb0ff2 (bug 1951426)
2025-03-21 20:38:15 +02:00
Nathan Barrett
3957775da8
Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-21 15:26:34 +00:00
Stanca Serban
4380403c09
Backed out 4 changesets (bug 1951426, bug 1954848, bug 1953632, bug 1951782) for causing Node tests failures. CLOSED TREE
...
Backed out changeset 2a8c811ce373 (bug 1954848)
Backed out changeset 04b8c4b9620a (bug 1953632)
Backed out changeset b51759b5f846 (bug 1951782)
Backed out changeset fc971f683077 (bug 1951426)
2025-03-20 23:36:40 +02:00
Nathan Barrett
9e01a2ba3e
Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-20 14:12:21 +00:00
Emilio Cobos Álvarez
e3e22e3bac
Bug 1952856 - Deal with text fragments disabled for now. r=jjaschke
...
I don't think this is worth a test tbh. We can remove the null-check
when we remove the pref.
Differential Revision: https://phabricator.services.mozilla.com/D241359
2025-03-13 11:52:30 +00:00
Gabriel Lee
4975165a37
Bug 1950590 - focus speaker selection button in prompt r=karlt,emz
...
Focus the first button in the popup if the list is not shown in the prompt.
This happens when there is only 1 speaker.
Differential Revision: https://phabricator.services.mozilla.com/D239731
2025-03-10 20:39:55 +00:00
Mike Conley
87ebe80f1b
Bug 1946569 - Part 2: Split out handling for about:newtab and about:home to a separate nsIAboutModule, replacing nsIAboutNewTabService. r=pdahiya,mossop,home-newtab-reviewers,omc-reviewers,chumphreys,thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D237641
2025-03-06 14:55:26 +00:00
Sandor Molnar
407d92cf44
Backed out changeset 1478967dca6e (bug 1950590) for causing bc failures @ browser_fullscreen_permissions_prompt.js CLOSED TREE
2025-03-06 00:42:16 +02:00
Gabriel Lee
da5eebead8
Bug 1950590 - focus speaker selection button in prompt r=karlt,emz
...
Focus the first button in the popup if the list is not shown in the prompt.
This happens when there is only 1 speaker.
Differential Revision: https://phabricator.services.mozilla.com/D239731
2025-03-05 20:55:51 +00:00
Mark Banner
878a5d5415
Bug 1951652 - Convert browser/components/search/ modules to use moz-src uris. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D240333
2025-03-05 09:24:37 +00:00
Gijs Kruitbosch
8c703a7db2
Bug 1951072 - switch reader mode modules to use moz-src URLs, r=firefox-desktop-core-reviewers ,sync-reviewers,urlbar-reviewers,mossop,jteow,markh
...
Differential Revision: https://phabricator.services.mozilla.com/D240004
2025-03-04 21:20:35 +00:00
Moritz Beier
34069ddca2
Bug 1948326 - Part 2: Add feature to generate search engine from HTML forms. r=Standard8,fluent-reviewers,bolsson,places-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D238277
2025-03-04 17:18:21 +00:00
Goloman Adrian
55008ab2ea
Backed out 2 changesets (bug 1948326) for causing bc failures @nsContentSecurityUtils.cpp. CLOSED TREE
...
Backed out changeset 172464722456 (bug 1948326)
Backed out changeset 855648c27237 (bug 1948326)
2025-03-04 15:12:56 +02:00
Moritz Beier
4841f6aadb
Bug 1948326 - Part 2: Add feature to generate search engine from HTML forms. r=Standard8,fluent-reviewers,bolsson,places-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D238277
2025-03-04 12:24:49 +00:00
Andrea Marchesini
9991ac15dc
Bug 1906040 - Remove auto-revoke for MediaSource BlobURLs - part 2, r=smaug,geckoview-reviewers,extension-reviewers,ohall,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D239866
2025-03-03 08:31:05 +00:00
Gijs Kruitbosch
6b3212de9b
Bug 1597228 - move 'get me out of here' logic to shared place and make toolkit-safe, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D238762
2025-02-24 15:30:42 +00:00
Gijs Kruitbosch
8a155fd76c
Bug 1597228 - improve how BlockedSite safebrowsing actor handles page loads, r=firefox-desktop-core-reviewers ,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D238760
2025-02-24 15:30:41 +00:00
Gijs Kruitbosch
0e31b3087e
Bug 1597228 - move BrowserOnClick and other about:blocked safebrowsing helpers out of browser.js, r=firefox-desktop-core-reviewers ,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D238535
2025-02-24 15:30:40 +00:00
alwu
a3ae0388f4
Bug 1944445 - remove test only Glean method. r=jrmuizel
...
Per [1], testGetValue() is a test-only function, and shouldn't be used on
the production code. It is not guaranteed to be exception- or crash-safe, or
performant. As `set` on Glean is an overwriting operation, calling it multiple
times won't affect the result and no harm. The actual probe result will be sent
on the "metrics" ping (the default) about once a day.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1944445#c48
Differential Revision: https://phabricator.services.mozilla.com/D239040
2025-02-21 00:49:00 +00:00
Jan-Niklas Jaeschke
e8420f7d69
Bug 1948279 - Text Fragments: Allow creating text fragments for multiple ranges. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D238215
2025-02-14 19:52:20 +00:00
hackademix
10cee30adb
Bug 1556016 - Part 3: Use direct browser sizing for letterboxing. r=tjr,desktop-theme-reviewers,dao
...
Compute and assign width and height to the browser, rather than setting
its margins.
Differential Revision: https://phabricator.services.mozilla.com/D234459
2025-02-13 15:27:59 +00:00
hackademix
b067333d3a
Bug 1556016 - Part 2: Mitigate letterboxing race conditions. r=tjr,desktop-theme-reviewers,dao
...
Preemptively apply margins in a global CSS rule to mitigate race
conditions on newly created windows and tabs.
Differential Revision: https://phabricator.services.mozilla.com/D234458
2025-02-13 15:27:58 +00:00
Jan-Niklas Jaeschke
64195ad896
Bug 1779688 - Add copy text fragment context menu items. r=mconley,fluent-reviewers,bolsson
...
This patch adds context menu entries to create a link to the current selection
of a site ("Text Fragment") and copies it to the clipboard.
Furthermore, if any Text Fragments are visible on the page,
it adds a context menu entry to remove these highlights.
This patch was mostly written by :jabramson.
Differential Revision: https://phabricator.services.mozilla.com/D235320
2025-02-13 10:22:00 +00:00
Stanca Serban
1bcf8dd069
Backed out changeset 13e62ea850a7 (bug 1779688) for causing devtools failures in browser_jsterm_autocomplete_mapped_variables.js. CLOSED TREE
2025-02-13 04:34:07 +02:00