Commit graph

5936 commits

Author SHA1 Message Date
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
Hanna Jones
f78c584212 Bug 1845150 - Use moz-message-bar instead of message-bar in notificationbox.js r=webdriver-reviewers,desktop-theme-reviewers,media-playback-reviewers,reusable-components-reviewers,karlt,whimboo,tgiles,dao
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-04 15:31:12 +00:00
Noemi Erli
381e246d01 Backed out changeset 6aab4af4cab8 (bug 1864534) for causing failures in browser_syncedtabs_firefoxview_next.js CLOSED TREE 2024-01-03 19:30:19 +02:00
Nikki Sharpley
3d437284aa 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-03 16:17:03 +00:00
Mark Banner
15f800186d Bug 1872672 - Remove 'Log' global from browser.js. r=mossop
Depends on D197499

Differential Revision: https://phabricator.services.mozilla.com/D197500
2024-01-02 17:38:54 +00:00
Emilio Cobos Álvarez
cd214fc2d8 Bug 1871745 - Keep exposing chrome-only properties on CSS2Properties. r=peterv
So that chrome code can keep setting -moz-user-focus via script, for
example.

Differential Revision: https://phabricator.services.mozilla.com/D197295
2023-12-28 17:45:50 +00:00
Cosmin Sabou
be99f386e4 Backed out 2 changesets (bug 1869605, bug 1864534) for bc failures on browser_all_files_referenced.js.
Backed out changeset 576e61e3970b (bug 1864534)
Backed out changeset 05b09125b90b (bug 1869605)
2023-12-22 21:08:31 +02:00
Nikki Sharpley
c94ba222c4 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)

Depends on D196080

Differential Revision: https://phabricator.services.mozilla.com/D196093
2023-12-22 17:57:50 +00:00
Mark Banner
00a8658fd9 Bug 1868749 - Remove search engine send attribution request. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D195758
2023-12-18 12:01:34 +00:00
rinwaoluwa
d70dc44cd5 Bug 1837072 -[Browser Translations Engine] Modified TranslationsParent.isRestricted method to be aware of contentType and the scheme, also created a testing file.r=nordzilla,translations-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191824
2023-12-04 20:47:33 +00:00
Benjamin VanderSloot
e72674d7b6 Bug 1525943 - Add associated to the identity UI - r=pbz,Gijs,nika,flod
Differential Revision: https://phabricator.services.mozilla.com/D193806
2023-11-30 18:32:48 +00:00
Benjamin VanderSloot
be347236a3 Bug 1525943 - Update the identity section from the content principal URI rather than gBrowser.currentURI. r=Gijs,nika
Differential Revision: https://phabricator.services.mozilla.com/D193803
2023-11-30 18:32:48 +00:00
Greg Tatum
24775179e6 Bug 1863335 - Make the simd detection synchronous; r=nordzilla,geckoview-reviewers,owlish,translations-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D192701
2023-11-27 18:02:17 +00:00
Dão Gottwald
8d63b9e356 Bug 1866613 - Convert XULBrowserWindow.hideOverLinkImmediately to a XULBrowserWindow.setOverLink parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D194687
2023-11-27 10:35:25 +00:00
Dão Gottwald
964e3d56b2 Bug 1850993 - Clear status panel when entering DOM Fullscreen. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D194538
2023-11-25 04:21:34 +00:00
Gijs Kruitbosch
3afecc0629 Bug 1866080 - remove dead docShell accesses that should be no-ops under fission/e10s, r=dao,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194388
2023-11-23 23:13:22 +00:00
Thomas Wisniewski
6cb66d4ccd Bug 1852340 - part 1: Add a new Gecko component for reporting broken websites; r=ayeddi,fluent-reviewers,mossop,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190647
2023-11-20 01:50:36 +00:00
Cristian Tuns
c76093316c Backed out 3 changesets (bug 1852340) for causing frequent mochitest failures in docshell/test/chrome/ CLOSED TREE
Backed out changeset 61875987e62c (bug 1852340)
Backed out changeset 05320d6c0441 (bug 1852340)
Backed out changeset 411374d444d1 (bug 1852340)
2023-11-19 11:46:26 -05:00
Thomas Wisniewski
4c054b0ab4 Bug 1852340 - part 1: Add a new Gecko component for reporting broken websites; r=ayeddi,fluent-reviewers,mossop,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190647
2023-11-19 15:34:40 +00:00
Natalia Csoregi
42acdc9cd5 Backed out 3 changesets (bug 1852340) for causing failures due to reportBrokenSite.ftl. CLOSED TREE
Backed out changeset 86f9e01f70d6 (bug 1852340)
Backed out changeset 0049d0494b17 (bug 1852340)
Backed out changeset 7851355d5c95 (bug 1852340)
2023-11-19 10:50:25 +02:00
Thomas Wisniewski
ad730e4654 Bug 1852340 - part 1: Add a new Gecko component for reporting broken websites; r=ayeddi,fluent-reviewers,mossop,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190647
2023-11-19 07:31:31 +00:00
Natalia Csoregi
67ce438ab8 Backed out changeset 59a1d385ed2a (bug 1852340) for causing multiple failures e.g. browser_startup_images.js. CLOSED TREE 2023-11-17 15:59:18 +02:00
Thomas Wisniewski
ca1fea74be Bug 1852340 - part 1: Add a new Gecko component for reporting broken websites; r=ayeddi,fluent-reviewers,mossop,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190647
2023-11-17 12:34:52 +00:00
Greg Stoll
14de68880a Bug 1811076: Part 5 - Add UI notifications for content analysis results r=nika,Gijs,fluent-reviewers,flod
Connects content analysis checks with the tab that their messages
to the user should appear on.  Adds notifications for the
CA messages.

Differential Revision: https://phabricator.services.mozilla.com/D191784
2023-11-15 14:53:12 +00:00