Commit Graph

6082 Commits

Author SHA1 Message Date
Itiel
ba79048a2f 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
b8a57ea6f0 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
0b6586aeb7 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
d8faddce1c 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
22f52ae24a 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
169ab0b9b0 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
a3ef648da0 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
ca9f42a177 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
13f27cb41c 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
c6a82fe0de 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
06f64c0cdb 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
fe19392699 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
c4cda4f604 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
0847da64fd 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
db6fb1fdda 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
323d6b5f81 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
82e3203f19 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
47ce8a31cb 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
5d4c4c0f9b 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
12407fd178 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
7cd8c743d7 Backed out changeset 0a133d5fd155 (bug 1864534) for causing screenshot related failures. CLOSED TREE 2024-01-04 18:38:25 +02:00
Nikki Sharpley
c4649017a7 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
20a89bc8bd 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
c916533153 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
7d4856299a 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
c3ee3b9dcd 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
85d8c8f42d 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
cc29f4a585 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
5ca60a29c4 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
cae4c89958 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
86b8e0fb97 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
262c52e1e6 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
772fdf6d14 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
edefda2a33 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
0dd824b3b2 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
f3d259a0df 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
5e8489f029 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
aa441af05a 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
d4de90a56b 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
8e6281d821 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
86011b4643 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
f0be2f0119 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
ba87a9d6fc 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
6e68090bc2 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
cf421bd6f6 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
f124b6db94 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
Niklas Baumgardner
d73a4a6849 Bug 1845842 - Refactor shopping code out of browser.js. r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190508
2023-11-05 22:32:12 +00:00
Cristian Tuns
4c37d0f4a5 Backed out 17 changesets (bug 1815339) for causing geckoview on testIsTranslationsEngineSupported CLOSED TREE
Backed out changeset 90f5a1a99e4a (bug 1815339)
Backed out changeset e70c088bf41e (bug 1815339)
Backed out changeset e34da5159ec7 (bug 1815339)
Backed out changeset 9f1278cda6c5 (bug 1815339)
Backed out changeset 1927a985ea90 (bug 1815339)
Backed out changeset 324096d2a767 (bug 1815339)
Backed out changeset 423ef0a9e06e (bug 1815339)
Backed out changeset 8f5c078bacd0 (bug 1815339)
Backed out changeset f101892bd4ee (bug 1815339)
Backed out changeset 1d9ac11f231a (bug 1815339)
Backed out changeset 5883881cd644 (bug 1815339)
Backed out changeset 759d1245402c (bug 1815339)
Backed out changeset df4dd62aadd9 (bug 1815339)
Backed out changeset 57907292004b (bug 1815339)
Backed out changeset 26d476f207e3 (bug 1815339)
Backed out changeset adce50eab2af (bug 1815339)
Backed out changeset 17d955b79499 (bug 1815339)
2023-11-04 11:10:32 -04:00
Greg Tatum
6fd2fff3a7 Bug 1815339 - Make the simd detection synchronous; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D192701
2023-11-04 14:08:53 +00:00
Narcis Beleuzu
42fc904a12 Backed out changeset 66a36c6e56c8 (bug 1845842) for bc failure on browser_shopping_urlbar.js 2023-11-03 08:28:04 +02:00