Commit Graph

5629 Commits

Author SHA1 Message Date
Mark Banner
7ea3c792f2 Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
smolnar
19781d16c7 Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner
de1754318e Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
mcheang
07b5d1e0f8 Bug 1754454 - update urlbar placeholder when search engine is removed on restart and idle. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139553
2022-02-24 10:53:53 +00:00
Emilio Cobos Álvarez
1c45bb4c02 Bug 1756323 - Fix tooltip coordinates in presence of full zoom. r=jfkthame
And cleanup similar code in nsXULTooltipListener. That code shouldn't
need to deal with zoom since the target and the tooltip are in the same
document.

Differential Revision: https://phabricator.services.mozilla.com/D139235
2022-02-21 17:30:08 +00:00
Neil Deakin
83d3315263 Bug 1681712, wait for the MozAfterPaint event before swapping remote browsers, so that tab switching doesn't get confused when the browser gets swapped out, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138386
2022-02-11 16:24:47 +00:00
Andrew McCreight
fc031e3b1e Bug 1754652 - Remove WINDOW_REMOTE_SUBFRAMES_ENABLED_STATUS telemetry. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D138472
2022-02-11 02:11:08 +00:00
Emilio Cobos Álvarez
8de26dc4c1 Bug 1754547 - Generalize moz-os-version into moz-platform. r=dao,preferences-reviewers,Gijs
Allow differentiating non-windows platforms on it.

Differential Revision: https://phabricator.services.mozilla.com/D138431
2022-02-10 15:50:31 +00:00
Mike Kaply
c9e3b5bc27 Bug 1735806 - Don't allow installs from AMO if not in policy install_sources r=willdurand,extension-reviewers,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D129415
2022-02-09 20:21:17 +00:00
Evgenia Kotovich
7c7818f34e Bug 1753816 - Change browser/base/content/browser.js to apply only InstantEditBookmark. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D137934
2022-02-07 08:02:19 +00:00
mcheang
a30935cd88 Bug 1748923 - Show Search Engine Removal Infobar on restart or 5 seconds idle. r=Standard8,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D136818
2022-02-03 08:02:49 +00:00
Iulian Moraru
6d6ce3b1d1 Backed out changeset 8e0d1f35d3cc (bug 1748923) for causing mochitest failures on browser_ProcessHangNotifications.js. CLOSED TREE 2022-02-03 07:33:00 +02:00
mcheang
83b59b248c Bug 1748923 - Show Search Engine Removal Infobar on restart or 5 seconds idle. r=Standard8,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D136818
2022-02-03 03:56:20 +00:00
Julien Wajsberg
a0311c9aa8 Bug 1745208 - [utilityOverlay] Make getTopWin take an option parameter r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D133376
2022-01-26 17:26:19 +00:00
aminomancer
7aebd7f3db Bug 1591040 - show both fullscreen and normal toolbar/tabstrip context menus in full screen, r=jaws,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131493
2022-01-21 22:52:24 +00:00
Norisz Fay
d35104b746 Backed out changeset e23259733a51 (bug 1591040) for causing bc failures on browser_fullscreen_context_menu.js CLOSED TREE 2022-01-19 13:32:54 +02:00
aminomancer
3394fc2082 Bug 1591040 - show both fullscreen and normal toolbar/tabstrip context menus in full screen, r=jaws,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131493
2022-01-19 10:14:34 +00:00
Evgenia Kotovich
2d9bc99735 Bug 1747684 - Clone instantEditBookmark.js to editBookmark.js and connect both. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D134774
2022-01-10 18:40:39 +00:00
Evgenia Kotovich
33a6258c3f Bug 1747684 - Rename editBookmark.js to instantEditBookmark.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D134723
2022-01-10 18:40:39 +00:00
Jonathan Watt
2fcd3c5856 Bug 1749016. Update Page Setup menu code in printUtils.js to reflect removal of the Print Preview menu. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D135351
2022-01-07 17:13:08 +00:00
Jonathan Watt
79109555b9 Bug 1702501 - Remove print.tab_modal.enabled pref and old frontend print preview code. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D134699
2022-01-06 18:55:38 +00:00
Iulian Moraru
5b281b1232 Backed out changeset 646535a71f53 (bug 1489124) for causing mochitest failures on browser_startup_images.js. CLOSED TREE 2022-01-06 17:32:55 +02:00
kz04px
ce62ea317b Bug 1489124 - Open "List all tabs" button on mouse down. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D133883
2022-01-06 11:05:17 +00:00
Cristian Tuns
445fb2ee55 Backed out changeset 109ea9e3f1c0 (bug 1489124) for causing mochitest failures on browser_startup_images.js CLOSED TREE 2022-01-05 09:43:02 -05:00
kz04px
97f57d6089 Bug 1489124 - Open "List all tabs" button on mouse down. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D133883
2022-01-05 09:15:18 +00:00
Gijs Kruitbosch
9673665b79 Bug 1719939 - remove other mentions of browser.proton.enabled, r=jaws
Depends on D134310

Differential Revision: https://phabricator.services.mozilla.com/D134311
2021-12-22 21:41:41 +00:00
Chris Peterson
e106006f76 Bug 1661791 - Remove "New Non-Fission Window" menu item. r=mconley
Now that Fission is the default, we don't want people to open Fission and non-Fission windows in the same session.

Differential Revision: https://phabricator.services.mozilla.com/D133854
2021-12-16 05:26:41 +00:00
Niklas Baumgardner
535d23f6a1 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-15 19:55:34 +00:00
Iulian Moraru
a0c283f56f Backed out changeset 63ec4612926b (bug 1743882) for causing mochitest failures on browser_preferences_usage.js. CLOSED TREE 2021-12-10 03:37:45 +02:00
Niklas Baumgardner
244fe122c9 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-09 21:06:37 +00:00
Makoto Kato
39ea02ab99 Bug 1659780 - Remove discovery support for second-screen devices. r=Gijs,geckoview-reviewers,agi
"Send Video to Device" feature is gone in desktop and mobile, and also,
we removed Presentation API implementation, so this is unnecessary now.

Differential Revision: https://phabricator.services.mozilla.com/D132330
2021-11-30 03:12:06 +00:00
Gijs Kruitbosch
17c9c06a19 Bug 1742801 - do not consume the user gesture from ClickHandlerChild if ClickHandlerParent will ignore the click anyway, r=edgar
This commit does a couple of things:
- move whereToOpenLink and getRootEvent implementations into BrowserUtils,
  so they can be used from the child process.
- forward callers in utilityOverlay.js to the BrowserUtils ones
  (bug 1742889 will get rid of the forwarding and update all the callers;
   we might be able to get this and bug 1739929 into beta if risk is low
   enough, and touching a bunch of extra files really doesn't help with
   that)
- move the lazy-load of BrowserUtils from browser.js to utilityOverlay.js
  This is safe because everywhere that loads browser.js also loads
  utilityOverlay.js. It's needed because there are some places that use
  utilityOverlay.js but not browser.js, and so now they need access to
  BrowserUtils.jsm.
- use whereToOpenLink to determine if we should avoid consuming the transient
  user gesture activation in the child click handling code.
- add an automated test based on the testcase in the bug.

When working on this, I initially put the check using whereToOpenLink in
the toplevel of the function, and then when I ran places test to check that
I hadn't broken any places consumers of whereToOpenLink or getRootEvent,
realized that I had broken `browser_markPageAsFollowedLink.js`, because it
relies on "normal" (ie no modifier key, left button) link clicks making it
to ClickHandlerParent.jsm . I filed bug 1742894 about this. I've not tried
to fix that here, instead I've tried to ensure that paths through this
function are as untouched as possible while still fixing bug 1739929 and
bug 1742801.

Differential Revision: https://phabricator.services.mozilla.com/D132102
2021-11-25 22:49:00 +00:00
Dão Gottwald
8e2dd34f81 Bug 1734835 - Remove the arrow and arrowbox elements from "arrow" panels. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131616
2021-11-19 19:58:50 +00:00
Hannah Peuckmann
eaa83bea9a Bug 1702983 - Display WebAuthn Attestation body of text in non bold. r=pbz,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D131049
2021-11-18 17:13:51 +00:00
Emilio Cobos Álvarez
8064f0a229 Bug 1741666 - Don't rely on global look-and-feel-changed notification in ToolbarIconColor. r=Gijs
It might fire before styles are invalidated, so it might cache the wrong
styles.

Instead, fire an event on the window once everything in that window has
been invalidated, not just the global theme.

This is causing failures with the patch in bug 1740089, since after that
patch `browser_ext_browserAction_theme_icons` trigger the theme changes
when switching from dark to default mode or similar.

Differential Revision: https://phabricator.services.mozilla.com/D131396
2021-11-17 18:03:09 +00:00
Harry Twyford
aa8b2ad9a9 Bug 1740300 - Do not send handoff from Private Browsing Mode. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D130772
2021-11-10 16:26:36 +00:00
Niklas Baumgardner
f67d60c4af Bug 1735614 - Building initial save visible / save full page UI in the tab modal. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128516
2021-11-04 17:57:29 +00:00
Butkovits Atila
b349774008 Backed out changeset 1884a0785032 (bug 1735614) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2021-11-03 22:50:51 +02:00
Niklas Baumgardner
6bccbd01d6 Bug 1735614 - Building initial save visible / save full page UI in the tab modal. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128516
2021-11-03 19:29:17 +00:00
Harry Twyford
bfdf3ce774 Bug 1525788 - Support sending Handoff. r=mstange,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129406
2021-11-02 18:08:08 +00:00
Cieara Meador
c368b589dc Bug 1732375 - Update file menu close tab item to reflect multiple tabs selected r=jhirsch,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D128113
2021-10-26 20:00:26 +00:00
Michael Kohler
87790d1825 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak
Differential Revision: https://phabricator.services.mozilla.com/D127588
2021-10-14 07:51:14 +00:00
Gijs Kruitbosch
06229c5d20 Bug 1718571, r=mtigley,pbz
Differential Revision: https://phabricator.services.mozilla.com/D127696
2021-10-12 11:19:04 +00:00
Tomislav Jovanovic
dc5b62d25a Bug 1708243 - Part 4: Remove tab-content.js and onExtensionBrowser.js, stop touching .content eagerly r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127750
2021-10-09 22:45:28 +00:00
Drew Willcoxon
d72b6e80fa Bug 1733687 - Store in a pref the user's response to the Firefox Suggest onboarding dialog and add two new telemetry event objects. r=dao,mythmon
This does a couple of things:

* Instead of using the `not_now` telemetry event object for the cases where the
  dialog is closed by the Escape key or some other atypical way, reserve
  `not_now` -- renamed `not_now_link` -- specifically for clicks on the "Not
  now" link and add two new objects: `dismissed_escape_key` and
  `dismissed_other`. That should give us a little better understanding of how
  the dialog is being dismissed. The new `not_now_link` name is to avoid
  conflation with the previous meaning of `not_now`.
* Add a new `browser.urlbar.quicksuggest.onboardingDialogChoice` pref that
  stores exactly the same values as the telemetry event. e.g., if the dialog is
  accepted, then we'll record a telemetry event whose object is `accept` and
  we'll also store `accept` in the pref.

I figure if we decide to show the onboarding again for people who have already
seen it, (1) we'll use this pref to decide the flow for any given user, and (2)
we'll need to add another pref for the user's response to the "v2" dialog, or
maybe we could morph this one into an array of responses or something more
complex like that.

Differential Revision: https://phabricator.services.mozilla.com/D127354
2021-10-07 17:02:07 +00:00
Emma Malysz
6aa62ca44e Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-28 20:01:35 +00:00
criss
f157e7c832 Backed out changeset ec019c0205a9 (bug 1725430) for causing failures on dbg-toggling-tools.js 2021-09-28 00:42:30 +03:00
Emma Malysz
058eca39a9 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-27 17:30:35 +00:00
Gijs Kruitbosch
57e79d2774 Bug 1726621 - ensure form validation popup always hides on tabswitches, navigations, etc., r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D124268
2021-09-22 10:12:24 +00:00
Narcis Beleuzu
64df090f34 Backed out changeset ceaaed353b66 (bug 1725430) for assertion failure on ErrorResult.h . CLOSED TREE 2021-09-22 01:09:22 +03:00