Commit graph

5959 commits

Author SHA1 Message Date
Cristian Tuns
6169ac57de Backed out 8 changesets (bug 1081542) for causing Bug 1885050
Backed out changeset 38614c34e575 (bug 1081542)
Backed out changeset 7571e95ed78c (bug 1081542)
Backed out changeset 29f139450ccc (bug 1081542)
Backed out changeset 058d5712354b (bug 1081542)
Backed out changeset 7f46e8820023 (bug 1081542)
Backed out changeset d29d7e9c38bd (bug 1081542)
Backed out changeset 0a6b3d90e636 (bug 1081542)
Backed out changeset 27dae926668f (bug 1081542)
2024-03-13 06:15:27 -04:00
Emilio Cobos Álvarez
709a0bbf3c Bug 1879941 - Prevent searchbar context menu from opening a context menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D201670
2024-03-08 10:42:25 +00:00
Niklas Baumgardner
e5340f3e09 Bug 1883155 - Add profiles menu to hamburger menu. r=mossop,fluent-reviewers,desktop-theme-reviewers,cmkm,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D203615
2024-03-07 16:28:05 +00:00
Narcis Beleuzu
9821a89274 Backed out changeset 0f647bca33ff (bug 1883155) for bc failures on browser_sentence_case_strings.js CLOSED TREE 2024-03-07 16:50:04 +02:00
Niklas Baumgardner
4dada35a50 Bug 1883155 - Add profiles menu to hamburger menu. r=mossop,fluent-reviewers,desktop-theme-reviewers,cmkm,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D203615
2024-03-07 13:33:53 +00:00
Gregory Pappas
40af85f061 Bug 1878629 - part 1: Use EventTarget.addEventListener to add system group event listeners instead of nsIEventListenerService (browser/) r=tabbrowser-reviewers,Gijs,dao
Differential Revision: https://phabricator.services.mozilla.com/D201043
2024-03-06 19:27:10 +00:00
Niklas Baumgardner
77e2a7eb66 Bug 1883143 - Initial profiles setup. r=jhirsch,mossop
Differential Revision: https://phabricator.services.mozilla.com/D203299
2024-03-06 15:44:11 +00:00
Cristian Tuns
912388edd2 Backed out changeset 498c23b2d670 (bug 1883143) for causing failures in nsContentSecurityUtils.cpp CLOSED TREE 2024-03-05 13:19:07 -05:00
Niklas Baumgardner
3f47fc8b3d Bug 1883143 - Initial profiles setup. r=jhirsch,mossop
Differential Revision: https://phabricator.services.mozilla.com/D203299
2024-03-05 16:50:31 +00:00
DJ
6623d94543 Bug 1883140 - don't hide bookmarks in Felt Privacy mode. r=cmkm
Differential Revision: https://phabricator.services.mozilla.com/D203475
2024-03-05 14:24:27 +00:00
Gregory Pappas
27838882b1 Bug 1878401 - part 2 - Update nsIFilePicker users in browser/ to pass BrowsingContext to init r=extension-reviewers,settings-reviewers,credential-management-reviewers,Gijs,sgalich,migration-reviewers,mconley,robwu
Depends on D200546

Differential Revision: https://phabricator.services.mozilla.com/D200547
2024-02-28 21:29:37 +00:00
Sandor Molnar
3951121cc6 Backed out 8 changesets (bug 1878401, bug 1879041) for causing build bustages on widget/nsBaseFilePicker.cpp CLOSED TREE
Backed out changeset 2e2b8df3bdd6 (bug 1879041)
Backed out changeset 6d6952f9df2c (bug 1878401)
Backed out changeset 30b5bb590d3e (bug 1878401)
Backed out changeset 9a4b830334b9 (bug 1878401)
Backed out changeset 3c3d67f1fcb7 (bug 1878401)
Backed out changeset c83ba4026822 (bug 1878401)
Backed out changeset 6bcb670ce475 (bug 1878401)
Backed out changeset f263b196df96 (bug 1878401)
2024-02-28 17:56:48 +02:00
Gregory Pappas
67cc3e9258 Bug 1878401 - part 2 - Update nsIFilePicker users in browser/ to pass BrowsingContext to init r=extension-reviewers,settings-reviewers,credential-management-reviewers,Gijs,sgalich,migration-reviewers,mconley,robwu
Depends on D200546

Differential Revision: https://phabricator.services.mozilla.com/D200547
2024-02-28 15:07:44 +00:00
Tooru Fujisawa
86d5bc7bde Bug 1081542 - Part 1: Add nsIBrowserDOMWindow.OPEN_NEWTAB_FOREGROUND. r=smaug,geckoview-reviewers,Gijs,amejiamarmol
Given meta/ctrl key should use browser.tabs.loadInBackground pref instead of
browser.tabs.loadDivertedInBackground pref, the existing
nsIBrowserDOMWindow.OPEN_NEWTAB behavior doesn't match the requirement.

Add dedicate flag for "open in foreground tab" to make it controllable from
nsWindowWatcher::IsWindowOpenLocationModified.

Differential Revision: https://phabricator.services.mozilla.com/D201929
2024-02-27 14:12:09 +00:00
Cristian Tuns
4e97787e18 Backed out 8 changesets (bug 1081542) for causing bc failures in browser_cancel_starting_autoscrolling_requested_by_background_tab.js CLOSED TREE
Backed out changeset 3cc96704d17f (bug 1081542)
Backed out changeset 9f3fe37b77ca (bug 1081542)
Backed out changeset 8d495120e6d2 (bug 1081542)
Backed out changeset ade6db42285d (bug 1081542)
Backed out changeset 56fb245cd38e (bug 1081542)
Backed out changeset c4530ae2b9e3 (bug 1081542)
Backed out changeset 758ad04a330e (bug 1081542)
Backed out changeset deb46de7b01c (bug 1081542)
2024-02-27 04:05:22 -05:00
Tooru Fujisawa
e3f5d5c722 Bug 1081542 - Part 1: Add nsIBrowserDOMWindow.OPEN_NEWTAB_FOREGROUND. r=smaug,geckoview-reviewers,Gijs,amejiamarmol
Given meta/ctrl key should use browser.tabs.loadInBackground pref instead of
browser.tabs.loadDivertedInBackground pref, the existing
nsIBrowserDOMWindow.OPEN_NEWTAB behavior doesn't match the requirement.

Add dedicate flag for "open in foreground tab" to make it controllable from
nsWindowWatcher::IsWindowOpenLocationModified.

Differential Revision: https://phabricator.services.mozilla.com/D201929
2024-02-27 07:28:18 +00:00
Erik Nordin
5bc2e09323 Bug 1880357 - Rename TranslationsPanel to FullPageTranslationsPanel r=translations-reviewers,gregtatum
Renames the TranslationsPanel class itself to FullPageTranslationsPanel
to distinguish it from the SelectTranslationsPanel class.

Depends on D200877

Differential Revision: https://phabricator.services.mozilla.com/D201280
2024-02-23 21:30:37 +00:00
Erik Nordin
0d4dda602e Bug 1880357 - Rename translationsPanel.(inc.xhtml|js) r=translations-reviewers,gregtatum
Renames the files translationsPanel... to fullPageTranslationsPanel...
to more accurately reflect what it is, now that there are
two translations panels.

Depends on D200506

Differential Revision: https://phabricator.services.mozilla.com/D200857
2024-02-23 21:30:36 +00:00
Erik Nordin
9957890189 Bug 1870300 - Add SelectTranslationsPanel class r=translations-reviewers,fluent-reviewers,desktop-theme-reviewers,bolsson,gregtatum,emilio
Adds a new class for SelectTranslationsPanel.

Differential Revision: https://phabricator.services.mozilla.com/D200502
2024-02-23 21:30:34 +00:00
echrs
9ba33abfe5 Bug 1878635 - Remove Deprecated.sys.mjs r=Standard8,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D201737
2024-02-20 20:33:24 +00:00
Narcis Beleuzu
28eb956d45 Backed out changeset 8744f0c0481d (bug 1879941) for bc failure on browser_searchbar_openpopup.js . CLOSED TREE 2024-02-14 03:57:38 +02:00
Emilio Cobos Álvarez
a14cc647c8 Bug 1879941 - Prevent searchbar context menu from opening a context menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D201670
2024-02-13 23:57:07 +00:00
Mike Conley
3b42177c8a Bug 1878731 - Convert CFRPageActions to an ESM. r=emcminn,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201126
2024-02-12 18:49:35 +00:00
Itiel
660077e5e3 Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-05 11:28:38 +00:00
Stanca Serban
04cb7be8b7 Backed out changeset d5b97b79ab63 (bug 1874952) for causing mochitests failures in browser_address_doorhanger_confirmation_popup.js. 2024-02-04 04:22:37 +02:00
Itiel
5577c0dc10 Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-03 19:52:00 +00:00
Stanca Serban
306257d036 Backed out changeset 234a8e0fb95f (bug 1874952) for causing mochitests in browser_doorhanger_remembering.js. CLOSED TREE 2024-02-03 20:15:38 +02:00
Itiel
3c87927873 Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-03 16:48:35 +00:00
Gregory Pappas
6d4dbd8b79 Bug 1708289 - Implement AllowFileSelectionDialogs policy r=fluent-reviewers,mkaply,emilio,Gijs,bolsson,win-reviewers,rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D199328
2024-02-01 00:48:24 +00:00
Mike Conley
0c9ec4d493 Bug 1868838 - Move CFRPageActions into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198879
2024-01-29 18:52:22 +00:00
Brian Grinstead
54d259ae5b Bug 1874599 - Add a pref to disable userContextId guessing for external opens;r=mossop
Bug 1692124 improved the behavior for workflows where external opens should move into sessions
inside containers, but it created an issue for those where external opens should move into
the default container and there are also tabs from the same domains inside containers, and
would create extra interstitials with the Multi-Account Containers addon if the predicted
container is different than the "always open" addon setting.

While the heuristic could be improved, it will never be perfect for all workflows,
so this patch introduces a pref to opt out of the behavior (and always open external
links in the default user context ID).

Differential Revision: https://phabricator.services.mozilla.com/D199443
2024-01-25 21:55:59 +00:00
Norisz Fay
935e67eb9f Backed out 2 changesets (bug 1875079) for causing bc failures on browser_menu_touch.js CLOSED TREE
Backed out changeset 015e7b62138b (bug 1875079)
Backed out changeset 3a62cca5ea26 (bug 1875079)
2024-01-22 20:01:57 +02:00
Kagami Sascha Rosylight
e2ca74f825 Bug 1875079 - Part 1: Toggle touchmode from nsXULPopupManager r=desktop-theme-reviewers,dao,emilio
Differential Revision: https://phabricator.services.mozilla.com/D198801
2024-01-22 12:05:33 +00:00
Kagami Sascha Rosylight
188ed6e48a Bug 1874301 - Part 1: Initialize MenuTouchModeObserver on all OS r=desktop-theme-reviewers,dao
Probably the panel/menupopup elements should provide this functionality natively without the observer, but I'd say that's out of scope here.

Differential Revision: https://phabricator.services.mozilla.com/D198382
2024-01-16 17:47:28 +00:00
DJ
2c25cf5feb Bug 1783521 - add card preview when inactive tab hovered. r=settings-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,fluent-reviewers,flod,dao,mconley
Differential Revision: https://phabricator.services.mozilla.com/D184260
2024-01-12 19:29:18 +00:00
Tooru Fujisawa
7eb60cfbdc Bug 1873330 - Part 1: Add nsIBrowserDOMWindow.OPEN_NEWTAB_BACKGROUND. r=smaug,geckoview-reviewers,amejiamarmol
In order to achieve "load in a new background tab" operation in `window.open`,
add OPEN_NEWTAB_BACKGROUND which is equivalent to OPEN_NEWTAB except for
not selecting the tab.

Differential Revision: https://phabricator.services.mozilla.com/D197859
2024-01-11 17:24:01 +00:00
Hanna Jones
1cd9e53b6b Bug 1845150 - Update notificationbox usage for search engine removal notification r=search-reviewers,fluent-reviewers,Standard8,bolsson
Notification can be triggered locally via this snippet:

```js
BrowserSearch.removalOfSearchEngineNotificationBox("Google", "Foogle")
```

Depends on D189872

Differential Revision: https://phabricator.services.mozilla.com/D194312
2024-01-10 18:55:30 +00:00
Hanna Jones
614f900ec6 Bug 1845150 - Use moz-message-bar instead of message-bar in notificationbox.js r=webdriver-reviewers,desktop-theme-reviewers,media-playback-reviewers,karlt,whimboo,tgiles,dao,devtools-reviewers
This patch updates the `NotificationMessage` element in `notificationbox.js` so that it extends our newer `moz-message-bar` component instead of the deprecated `message-bar` component. Many of the changes are just dealing with the implications of making things async (so that we can ensure `moz-message-bar.mjs` gets imported). I tried to break out places where I modified related code and tests into separate patches to mitigate some of the review pain here.

This patch solves a longstanding issue where we were loading `in-content/common-shared.css` in the chrome since it gets used by the `message-bar` element. It also makes some small visual changes to our infobars (slight outline, icon colors, adds a bit of spacing).

Differential Revision: https://phabricator.services.mozilla.com/D189872
2024-01-10 18:55:29 +00:00
Nikki Sharpley
808439ab98 Bug 1864517 - "See tabs from synced devices" should link to the synced tabs category in Firefox View r=fxview-reviewers,markh,kcochrane
Previously the "See tabs from synced devices" button redirected to `about:firefoxview`.

This patch updates the `openTab` function to accept a category instead of an entryPoint or event.

For previous instances where `openTab` passed an event, `openTab` has been replaced with `openToolbarMouseEvent` to handle event.

We should open an issue in FxA to update the following `entryPoint` from "preferences" to "syncedtabs".
2b2ee47c4b/packages/fxa-content-server/app/scripts/views/pair/auth_complete.js (L55-L63)

Depends on D196208

Differential Revision: https://phabricator.services.mozilla.com/D196881
2024-01-09 22:11:25 +00:00
Nikki Sharpley
51ecff85f5 Bug 1817794 - Remove Firefox View feature pref r=fxview-reviewers,sclements
As we are no longer experimenting with turning this pref on and off and have moved to the newer
implementation of Firefox View, this pref has been removed.

We may want to notify users who prefer this feature hidden.

Differential Revision: https://phabricator.services.mozilla.com/D196887
2024-01-09 21:08:54 +00:00
Norisz Fay
0d4fc02631 Backed out 7 changesets (bug 1845150) for causing failures on browser_datachoices_notification.js CLOSED TREE
Backed out changeset a07c835a4bf7 (bug 1845150)
Backed out changeset 0016d7f4e556 (bug 1845150)
Backed out changeset 46cfe5fe6e6a (bug 1845150)
Backed out changeset 83190b8a08d0 (bug 1845150)
Backed out changeset ada948351267 (bug 1845150)
Backed out changeset 7aa4340bfd96 (bug 1845150)
Backed out changeset 683745289588 (bug 1845150)
2024-01-05 18:52:01 +02:00
Hanna Jones
26d37311c1 Bug 1845150 - Update notificationbox usage for search engine removal notification r=search-reviewers,fluent-reviewers,Standard8,bolsson
Notification can be triggered locally via this snippet:

```js
BrowserSearch.removalOfSearchEngineNotificationBox("Google", "Foogle")
```

Differential Revision: https://phabricator.services.mozilla.com/D194312
2024-01-05 15:04:19 +00:00
Hanna Jones
fc2bc4071a Bug 1845150 - Use moz-message-bar instead of message-bar in notificationbox.js r=webdriver-reviewers,desktop-theme-reviewers,media-playback-reviewers,karlt,whimboo,tgiles,dao,devtools-reviewers
This patch updates the `NotificationMessage` element in `notificationbox.js` so that it extends our newer `moz-message-bar` component instead of the deprecated `message-bar` component. Many of the changes are just dealing with the implications of making things async (so that we can ensure `moz-message-bar.mjs` gets imported). I tried to break out places where I modified related code and tests into separate patches to mitigate some of the review pain here.

This patch solves a longstanding issue where we were loading `in-content/common-shared.css` in the chrome since it gets used by the `message-bar` element. It also makes some small visual changes to our infobars (slight outline, icon colors, adds a bit of spacing).

Differential Revision: https://phabricator.services.mozilla.com/D189872
2024-01-05 15:04:18 +00:00
Mark Banner
7a4d095f30 Bug 1864821 - Replace PromiseUtils.defer() with Promise.withResolvers() in browser window scopes. r=Gijs,extension-reviewers,application-update-reviewers,rpl,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D197486
2024-01-05 09:22:33 +00:00
Nikki Sharpley
cea8dc7d06 Bug 1854957 - remove Firefox View newIcon pref. r=fxview-reviewers,sclements
Since the nimbus experiment is complete, we no longer need the pref for the newIcon.

Differential Revision: https://phabricator.services.mozilla.com/D196884
2024-01-04 19:19:55 +00:00
Cosmin Sabou
45ad585956 Backed out 7 changesets (bug 1845150) for causing dt failures on browser_screenshot_button_warning. CLOSED TREE
Backed out changeset fdc3f1b5e5ae (bug 1845150)
Backed out changeset ba7789c89bdd (bug 1845150)
Backed out changeset 6c405863be54 (bug 1845150)
Backed out changeset f66e8bb15e18 (bug 1845150)
Backed out changeset a75fe63bd39f (bug 1845150)
Backed out changeset 91365291f80f (bug 1845150)
Backed out changeset 7477fd1c48fa (bug 1845150)
2024-01-04 18:53:25 +02:00
Nikki Sharpley
81c08a33fb Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs
- removes `about:firefoxview-next` route
- `about:firefoxview` now points to `firefoxview-next.html` (until we rename)
- remove pref for `browser.tabs.firefox-view-next`
- preserve pref for `browser.tabs.firefox-view-newIcon` as part of firefoxViewNext feature manifest (until experiment is over)
- whitelist unreferenced files in `browser_all_files_referenced.js` as they will be removed in child Bug 1869833

Differential Revision: https://phabricator.services.mozilla.com/D196093
2024-01-04 15:40:22 +00:00
Cosmin Sabou
3a810e4572 Backed out changeset 0a133d5fd155 (bug 1864534) for causing screenshot related failures. CLOSED TREE 2024-01-04 18:38:25 +02:00
Nikki Sharpley
cd901e4e4f Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs
- removes `about:firefoxview-next` route
- `about:firefoxview` now points to `firefoxview-next.html` (until we rename)
- remove pref for `browser.tabs.firefox-view-next`
- preserve pref for `browser.tabs.firefox-view-newIcon` as part of firefoxViewNext feature manifest (until experiment is over)
- whitelist unreferenced files in `browser_all_files_referenced.js` as they will be removed in child Bug 1869833

Differential Revision: https://phabricator.services.mozilla.com/D196093
2024-01-04 15:40:22 +00:00
Hanna Jones
ba93129cb7 Bug 1845150 - Update notificationbox usage for search engine removal notification r=search-reviewers,fluent-reviewers,Standard8,bolsson
Notification can be triggered locally via this snippet:

```js
BrowserSearch.removalOfSearchEngineNotificationBox("Google", "Foogle")
```

Differential Revision: https://phabricator.services.mozilla.com/D194312
2024-01-04 15:31:12 +00:00