Граф коммитов

25960 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 3ead9a3061 Bug 1754266 - Teach browser_parsable_css.js about platform-specific queries. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D139675
2022-02-26 01:10:04 +00:00
Shane Hughes 17ae4592fa Bug 1750129 - Remove old/obsolete reference to photon tracking protection icon animation. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D135961
2022-02-25 17:58:31 +00:00
Emilio Cobos Álvarez 13c6172000 Bug 1757109 - Fix browser_parsable_css.js to look at layers, @import, etc. r=Gijs
I just noticed this while looking at the back out of bug 1754266.

Differential Revision: https://phabricator.services.mozilla.com/D139674
2022-02-25 14:13:20 +00:00
Timothy Nikkel 3b86f7a465 Bug 1756801. Correctly handle transitioning from stopping (but not stopped yet) to starting a new swipe in browser-gestureSupport.js. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D139596
2022-02-25 07:53:34 +00:00
mcheang 9b6063d943 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
Sammy Khamis 8b622a5cb6 Bug 1756252: Collect telemetry on synced tabs usage r=markh
Differential Revision: https://phabricator.services.mozilla.com/D139221
2022-02-23 02:39:26 +00:00
Gijs Kruitbosch d0146c30c7 Bug 1694546 - fix bookmark toolbar draggability on Linux, r=dao
I came across this again when trying to address bug 1756676 and figured
I would just address this bug immediately per our previous discussion
on the bug.

Differential Revision: https://phabricator.services.mozilla.com/D139421
2022-02-22 20:47:39 +00:00
Emilio Cobos Álvarez 92ca1990a3 Bug 1756241 - Improve tab dragging calculations to work correctly between mixed-dpi screens. r=dao
The root cause of the bug is fixed by the previous patch. This patch improves
the calculations to work properly across mixed dpi displays (which doesn't work
on release either by any stretch).

Hopefully it's somewhat straight-forward to follow.

Depends on D139243

Differential Revision: https://phabricator.services.mozilla.com/D139244
2022-02-22 19:06:59 +00:00
Gijs Kruitbosch 814f569cac Bug 1753414 - stop switching tabs with the context menu open, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D138972
2022-02-22 10:06:37 +00:00
Emilio Cobos Álvarez 86cd371af9 Bug 1756323 - Test. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D139306
2022-02-21 18:26:20 +00:00
Emilio Cobos Álvarez a8ddbfd586 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
Michael Froman f6f7308e01 Bug 1712012 - disable browser_devices_get_user_media_unprompted_access.js for legacyGlobalIndicator case. r=bwc
Temporarily disable this test on linux for the legacyGlobalIndicator case
since it seems to consistently timeout.

Differential Revision: https://phabricator.services.mozilla.com/D139180
2022-02-19 01:35:46 +00:00
Sam Foster bcf56dfb63 Bug 1721229 - Remove the WebPayments UI code from the tree. r=MattN,desktop-theme-reviewers,edenchuang,dao
* Remove the contents of the browser/components/payments directory
* Excepting the nsIPaymentUIService implementation and its component registration - to allow the /feature-policy/payment-allowed-by-feature-policy* tests to continue to run and pass
* Update docs index to remove the web payments UI source docs
* Remove residual rules from browser CSS
* Remove references from the static analysis tests

Differential Revision: https://phabricator.services.mozilla.com/D127329
2022-02-17 20:32:13 +00:00
Sergey Galich 2924bdb35f Bug 1653486 - Replace all non-user-facing references to "master" password. r=dimi,tgiles,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138113
2022-02-17 17:29:57 +00:00
Emilio Cobos Álvarez 6ab8201db0 Bug 1755315 - Add more convenient accessors for widget screen to chrome code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138662
2022-02-17 16:22:58 +00:00
Emilio Cobos Álvarez 74d0665b85 Bug 1755737 - Make layout.css.dpi a static pref. r=jfkthame,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138921
2022-02-16 21:13:58 +00:00
Timothy Nikkel cd084cd10a Bug 1755290. Don't descend into the chrome tabbar when looking for an async scrollable element to create a display port on. r=botond,emilio
A basic Firefox window has no element that WantAsyncScroll in the parent process, even if there are enough tabs to overflow the tabbar and make it scroll. This is because the underlying element is overflow hidden.

The tabbar is an arrowscrollbox

https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/browser/base/content/navigator-toolbox.inc.xhtml#56

Which is implemented here

https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/toolkit/content/widgets/arrowscrollbox.js#33

using a <scrollbox> element. These are meant to be programtically scrolled but not user scrolled, hence they are declared overflow hidden here

https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/toolkit/content/xul.css#540

and they have been that way since the early 2000s, so doesn' seem likely to change. overflow: hidden element do not WantAsyncScroll

https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/layout/generic/nsGfxScrollFrame.cpp#1691

If the tabbar structure/name changes I left a comment there pointing out this code.

In a session with a lot of tabs this code can be 15% of the total parent process time to open a new tab. With this patch it's pretty much zero.

Differential Revision: https://phabricator.services.mozilla.com/D138650
2022-02-16 20:20:49 +00:00
Ed Lee 530503798f Bug 1752935 - Reuse welcome bundle from Spotlight for multistage template r=pdahiya,andreio
Detect about:welcome template usage and move modal shadow styling to content. Remove 93-backwards-compatible logoImageURL and update schema. Only basic functionality for initial testing.

Differential Revision: https://phabricator.services.mozilla.com/D138866
2022-02-16 19:05:22 +00:00
Butkovits Atila 20e27a3364 Backed out 2 changesets (bug 1755737) for causing failures at browser_test_feature_preferencereads.js. CLOSED TREE
Backed out changeset c2609661965d (bug 1755737)
Backed out changeset 34596510350a (bug 1755737)
2022-02-16 21:53:03 +02:00
Emilio Cobos Álvarez 47d1f077af Bug 1755737 - Make layout.css.dpi a static pref. r=jfkthame,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138921
2022-02-16 17:39:57 +00:00
Emilio Cobos Álvarez fd537c7068 Bug 1753836 - Apparently we access layout.css.dpi a bit less.
Note that it's not 100% clear whether this bug is responsible for the
improvement or not, but given it's an improvement...

MANUAL PUSH: Unexpected pass CLOSED TREE
2022-02-16 17:18:55 +01:00
Emilio Cobos Álvarez a8883d1cfc Bug 1753836 - Fix callers of screenForRect to pass desktop pixels. r=jfkthame,Gijs
Device pixels and desktop pixels are not the same on macOS and Win7.
Expose the desktop-to-device scale to JS and use it appropriately.

Depends on D138038

Differential Revision: https://phabricator.services.mozilla.com/D138039
2022-02-16 12:18:12 +00:00
Emilio Cobos Álvarez ab63e715e1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-16 12:18:11 +00:00
smolnar 33c038ec0d Backed out 6 changesets (bug 1753836) for causing mochitest failures in test_event_screenXY_with_zoom. CLOSED TREE
Backed out changeset a572cbc0fac2 (bug 1753836)
Backed out changeset 371a495ff728 (bug 1753836)
Backed out changeset 774af76be463 (bug 1753836)
Backed out changeset faa8a8f2d40f (bug 1753836)
Backed out changeset 9209832ecffe (bug 1753836)
Backed out changeset db443ce0406d (bug 1753836)
2022-02-16 01:47:51 +02:00
Emilio Cobos Álvarez c879265a3a Bug 1753836 - Fix callers of screenForRect to pass desktop pixels. r=jfkthame,Gijs
Device pixels and desktop pixels are not the same on macOS and Win7.
Expose the desktop-to-device scale to JS and use it appropriately.

Depends on D138038

Differential Revision: https://phabricator.services.mozilla.com/D138039
2022-02-15 22:25:04 +00:00
Emilio Cobos Álvarez 9b5b35c3f1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-15 22:25:04 +00:00
Masayuki Nakano 8afd3c5af5 Bug 1191862 - part 3: Make `GlobalKeyListener` not reserve key combination which is mapped to an edit command or a navigation command by native key bindings r=NeilDeakin,smaug
Users may map reserved shortcut keys of Firefox/Thunderbird as an editing
command or a navigation command.  Therefore if and only if an editable element
has focus and a reserved key combination is mapped to an editing command or
a navigation command by the system settings, we should allow to dispatch it
into the content and work it as what user expects.

With this change, keyboard only users may loose some shortcut keys to leave
from a web content which blocks keyboard focus in it.  However, there may
be another reserved shortcut keys to escape from such web apps only with
keyboard because it's hard to think that all reserved shortcut keys conflict
with users' settings.

Differential Revision: https://phabricator.services.mozilla.com/D138009
2022-02-15 08:00:06 +00:00
Sarah Clements af133eccab Bug 1752837 - Remove ifdef NIGHTLY_BUILD tab-throbber rule r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138663
2022-02-14 17:10:23 +00:00
Neil Deakin 376736ae91 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
Sarah Clements bdd15984a3 Bug 1747430 - remove tabIndicatorReplacesIcon in browser tabs css file r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137775
2022-02-11 16:19:52 +00:00
Andrew McCreight f4d8751f09 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
Nicholas Rishel ee26d5ca8e Bug 1754409 - Add catch for invalid manual update url. r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138473
2022-02-10 21:40:12 +00:00
Hannah Peuckmann e59b42b675 Bug 1681701 - Enable exceptions in sanitization. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D136463
2022-02-10 16:29:47 +00:00
Emilio Cobos Álvarez 5fed8de04b 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
Shane Hughes ad1af0135d Bug 1634237 - Resolve a benign error in the All Tabs Menu. r=dao
The All Tabs Menu tries to scroll the selected tab element into view
when the All Tabs view is shown. But depending on user prefs, pinned
tabs are elided from the menu, resulting in no selected tab element.
So this can invoke undefined.scrollIntoView and result in an error.

Differential Revision: https://phabricator.services.mozilla.com/D137514
2022-02-10 12:25:54 +00:00
Mike Kaply a85f12c5d6 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
Ed Lee d7bf05ab83 Bug 1754126 - Skip colorway theme test if it has already expired r=pdahiya
Silently ignore themes that are expired and can't be enabled.

Differential Revision: https://phabricator.services.mozilla.com/D138168
2022-02-08 22:58:52 +00:00
Emilio Cobos Álvarez 00cc720134 Bug 1753995 - Remove non-test usage of WindowUtils.screenPixelsPerCSSPixel. r=mconley
It does the same as window.devicePixelRatio. However a bunch of this
code is copy-pasted code trying to scale a canvas, but not messing with
full zoom is the right thing to do.

The full zoom value in the top level browser.xhtml page is always 1
anyways, and WindowsPreviewPerTab looking at the current browser tab's
full zoom is just bizarre...

Differential Revision: https://phabricator.services.mozilla.com/D138020
2022-02-07 18:23:35 +00:00
Evgenia Kotovich 0825ccdc96 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
Butkovits Atila c5fefb28e5 Bug 1739107 - disable browser_devices_get_user_media_screen.js on Win for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137963
2022-02-07 02:59:54 +00:00
Emilio Cobos Álvarez a6cf56481f Bug 1741830 - Fix front-end callers of screenForRect in HiDPI environments. r=Gijs
screenForRect takes screen coordinates (device pixels, for our purpose here).

However screenX / screenY are in CSS pixels, so we need to convert them to the
right coordinate space before looking up the screen.

Differential Revision: https://phabricator.services.mozilla.com/D137895
2022-02-05 15:44:43 +00:00
Masatoshi Kimura f7542880f9 Bug 1753608 - Fix Session Restore fails to restore some features. r=Gijs
* I overlooked that some `window.open` feature names are different from
  barprop names.
* Adding "resizable" will regress the maximize button prblem. But it was
  broken even before bug 1564738 and fixing it requires changes to session
  data. The current session data do not contain enough information to restore
  the maximize button state correctly. I'll file a follow-up bug about this.
* I renamed the test file because it is no longer limited to tab visibility.

Differential Revision: https://phabricator.services.mozilla.com/D137838
2022-02-04 19:53:24 +00:00
Masatoshi Kimura bce08ba83a Bug 1564738 - Set correct features from the start instead of changing visibity after window creation. r=Gijs
Changing visibiity causes some subtle problems.

Differential Revision: https://phabricator.services.mozilla.com/D137750
2022-02-03 23:10:16 +00:00
Emilio Cobos Álvarez 257a6beb7b Bug 1718220 - Try to sync-decode to hopefully fix some frequent flickering tests.
MANUAL PUSH: Hopefully trivially fixes some orange CLOSED TREE.
2022-02-03 22:29:02 +01:00
Emilio Cobos Álvarez 488c7066ed Bug 1718220 - Make favicons regular HTML images. r=dao
The code for rendering these is better than for <xul:image>. Remove
validate="never" because it'd do nothing with HTML images and we don't
need this (favicons are data: URIs so they are always cached / never
revalidated).

Differential Revision: https://phabricator.services.mozilla.com/D137746
2022-02-03 18:35:25 +00:00
Barret Rennie 13576ebfcd Bug 1752183 - Support remote images in Spotlight r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D137210
2022-02-03 18:16:05 +00:00
Tim Huang 90cbe9a70b Bug 1753231 - Disable dFPI heuristic in the test browser_bug906190.js. r=pbz
The test browser_bug906190.js will trigger the dFPI heuristic that will
create an unnecessary 3rd party cookie permission and it may affect
following tests. So, we disable the dFPI heuristic in the test,
then the heuristic won't be triggered.

Differential Revision: https://phabricator.services.mozilla.com/D137754
2022-02-03 15:03:25 +00:00
mcheang d28e21ce8c 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
Cosmin Sabou 33e28b3002 Backed out changeset e00a268f35f3 (bug 1564738) for causing Bug 1753106 as requested by emk. 2022-02-03 08:42:46 +02:00
Iulian Moraru 8754f82979 Backed out 2 changesets (bug 1752183) for causing multiple failures. CLOSED TREE
Backed out changeset b85880f20aa5 (bug 1752183)
Backed out changeset c4bd523a463a (bug 1752183)
2022-02-03 07:33:40 +02:00
Iulian Moraru 29074fb140 Backed out changeset 8e0d1f35d3cc (bug 1748923) for causing mochitest failures on browser_ProcessHangNotifications.js. CLOSED TREE 2022-02-03 07:33:00 +02:00
Barret Rennie 9efe262155 Bug 1752183 - Support remote images in Spotlight r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D137210
2022-02-03 04:39:42 +00:00
mcheang c160b33ac4 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
Butkovits Atila b2fb71d2b1 Bug 1705492 - disable browser_tabopen.js on Mac_opt and Linux_opt for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137592
2022-02-02 01:59:40 +00:00
Joel Maher a261492460 Bug 1750839 - Enable fission browser-chrome for variants. r=mccr8,releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D136512
2022-02-01 19:30:34 +00:00
Kashav Madan 24b78009fd Bug 1564738 - Unconditionally call TabBarVisbility.update() when adding "multiple" tabs. r=Gijs CLOSED TREE
The regressing bug (bug 1448286) removed a redundant call to
gBrowser.tabContainer.updateVisibility. It appears that removed call was
necessary for restoring the tabbar of windows that were originally opened as
dialogs.

In D53692, we tried to avoid the extra cost of removing and readding the tab if
we were restoring a single-tabbed window, but it turns out that it's required to
get around the above.

Differential Revision: https://phabricator.services.mozilla.com/D124358
2022-01-31 23:19:30 +00:00
Cosmin Sabou 1df7c6105f Backed out changeset 78000a724660 (bug 1564738) for tab related bc failures. CLOSED TREE 2022-02-01 02:39:12 +02:00
Kashav Madan 97503b0cc7 Bug 1564738 - Unconditionally call TabBarVisbility.update() when adding "multiple" tabs, r=Gijs
The regressing bug (bug 1448286) removed a redundant call to
gBrowser.tabContainer.updateVisibility. It appears that removed call was
necessary for restoring the tabbar of windows that were originally opened as
dialogs.

In D53692, we tried to avoid the extra cost of removing and readding the tab if
we were restoring a single-tabbed window, but it turns out that it's required to
get around the above.

Differential Revision: https://phabricator.services.mozilla.com/D124358
2022-01-31 23:19:30 +00:00
Masatoshi Kimura 66e773f594 Bug 1752683 - Stop passing 8.3 names to NSS for SQLite db paths. r=keeler,florian
We pass 8.3 names to NSS to avoid non-ASCII characters because NSS still
depends on the system code page (although this workaround is not effective on
East-Asian locales).

We don't have to use 8.3 names to NSS for SQLite db paths because SQLite
always use UTF-8 for file names.

Differential Revision: https://phabricator.services.mozilla.com/D137379
2022-01-31 19:43:36 +00:00
Hannah Peuckmann 9e561c3134 Bug 1750164 - Hand over the proper unit of time from ClearDataService to PermissionManager. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D136391
2022-01-31 16:33:33 +00:00
Benjamin VanderSloot dc8b65ef45 Bug 1749995 - Make tests in browser/base/content/test/ dFPI compatible, r=mossop,anti-tracking-reviewers,timhuang
We are fixing mochitests that fail when network.cookie.cookieBehavior = 5, i.e. when we enable Total Cookie Protection.
This is most often due to the test assuming that an origin will always have access to its storage state when embedded as
a third party.

My approach: Add third-party storage permission to the favicon's origin (http://example.com) for each test.
The feature tested here assumes third-party storage, so we have to give it to expose the code paths being tested.
In this case, those paths are to send cookies with a favicon request when `crossorigin="use-credentials"` in the favicon's link tag.

Differential Revision: https://phabricator.services.mozilla.com/D136600
2022-01-31 14:20:59 +00:00
Mark Banner 9b90775450 Bug 1751275 - Add a snapshot monitor for triggering snapshot group builders. r=mossop
Depends on D135706

Differential Revision: https://phabricator.services.mozilla.com/D136526
2022-01-31 12:07:27 +00:00
Paul Zuehlcke 5763da8555 Bug 1749377 - Use prefersColorSchemeOverride to inherit dark PBM theme for prompts and pageInfo window. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D136931
2022-01-29 14:24:58 +00:00
Dão Gottwald 068ad60ae4 Bug 1752344 - Stop re-throwing exceptions in addTab(). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137151
2022-01-28 17:40:12 +00:00
Emilio Cobos Álvarez b564f8c7b1 Bug 1751484 - Remove expensive, barely perceptible transition that triggers at unwanted times. r=dao
See https://bugzilla.mozilla.org/show_bug.cgi?id=1751484#c3, this
transition triggers on all tabs whenever the visibility of an ancestor
changes (like it does for DOM full-screen).

I think this is barely perceptible (it only applies visibility: hidden
for one frame, tab open animation looks equally neat on my machine
without it), so removing this is easier, but let me know if you instead
want to add an attribute to the tab to stop applying the transition, or
something of that sort around here:

  https://searchfox.org/mozilla-central/rev/f7eeca4e34daea900fbedbc392c8c99f90923143/browser/base/content/tabbrowser-tabs.js#171

Differential Revision: https://phabricator.services.mozilla.com/D136667
2022-01-28 15:32:43 +00:00
Emilio Cobos Álvarez 3e3daec33d Bug 1751733 - Account for tab close icon size in browser_tabopen.js. r=florian
Whether the overflow happens intentionally or not, it wasn't caused by
the regressing patch so I think we should probably just do this for now.

Differential Revision: https://phabricator.services.mozilla.com/D137289
2022-01-28 15:32:27 +00:00
Sammy Khamis 3f6b2b72fc Bug 1643752 - Sort send tab targets by last used r=markh,vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D134722
2022-01-27 19:14:35 +00:00
Emilio Cobos Álvarez cca6dcd89b Bug 1751733 - Dump some debug info in test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136804
2022-01-27 12:35:54 +00:00
Mike Conley 1c40e4c136 Bug 1751560 - Use title-cased File menu strings for macOS dock menu items. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D137060
2022-01-26 19:44:39 +00:00
Julien Wajsberg 220542aa8c Bug 1639716 - [utilityOverlay] Provide a callback in openLinkIn to report when a content browser is created r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D133375
2022-01-26 17:26:22 +00:00
Julien Wajsberg ff988ebecd Bug 1639716 - [profiler] Remove the profiler disabling by private browsing r=jdescottes,gerald,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D129417
2022-01-26 17:26:21 +00:00
Julien Wajsberg 3f29e1ff88 Bug 1745208 - [utilityOverlay] Add a new parameter "forceNonPrivate" to openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D133378
2022-01-26 17:26:20 +00:00
Julien Wajsberg b461799fc5 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
Julien Wajsberg bdb6783a8a Bug 1745208 - [utilityOverlay] Add new tests for openWebLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134184
2022-01-26 17:26:19 +00:00
Gijs Kruitbosch 867dbaa85b Bug 1678965 - Part 2: set cross opener group for openLinkIn tabs opened as new tabs, r=dao
Depends on D100152

Differential Revision: https://phabricator.services.mozilla.com/D136176
2022-01-25 17:42:45 +00:00
Cristian Tuns f87106958c Backed out changeset d67ad48adb3c (bug 1751484) for increasing the failure rate on mochitest failures on Bug 1751733 CLOSED TREE 2022-01-25 04:13:19 -05:00
Emilio Cobos Álvarez 574d41e30e Bug 1751733 - Refactor condition for readability in browser_tabopen.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D136783
2022-01-24 22:57:58 +00:00
Mike Kaply 0f2af8604b Bug 1632058 - Always get distribution values from default prefs. r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D93805
2022-01-24 20:46:38 +00:00
Emilio Cobos Álvarez f6dbe8998c Bug 1751484 - Remove expensive, barely perceptible transition that triggers at unwanted times. r=dao
See https://bugzilla.mozilla.org/show_bug.cgi?id=1751484#c3, this
transition triggers on all tabs whenever the visibility of an ancestor
changes (like it does for DOM full-screen).

I think this is barely perceptible (it only applies visibility: hidden
for one frame, tab open animation looks equally neat on my machine
without it), so removing this is easier, but let me know if you instead
want to add an attribute to the tab to stop applying the transition, or
something of that sort around here:

  https://searchfox.org/mozilla-central/rev/f7eeca4e34daea900fbedbc392c8c99f90923143/browser/base/content/tabbrowser-tabs.js#171

Differential Revision: https://phabricator.services.mozilla.com/D136667
2022-01-24 14:02:18 +00:00
aminomancer c95531067d 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
Andrew Creskey 30948ff437 Bug 1750100 - Add SnapshotGroups and API r=Standard8,mossop
SnapshotGroups will allow users, as well as our heuristics, to group various Snapshots together in meaningful ways.

Differential Revision: https://phabricator.services.mozilla.com/D135706
2022-01-21 21:02:22 +00:00
Joel Maher d55f10c407 Bug 1751264 - adjust tests that should be passing on win10. r=intermittent-reviewers,MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D136525
2022-01-20 21:02:44 +00:00
Mark Banner 4f4dd2fbae Bug 1750974 - Extend our ESLint import-globals-from function to support absolute directories. r=Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D136368
2022-01-20 14:15:34 +00:00
Neil Deakin 3df939168c Bug 1748345, if deleting the default bookmark folder, reset the preference so that it is valid for later use, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D136199
2022-01-20 12:21:51 +00:00
Barret Rennie fc95d2558c Bug 1747461 - Remove FileUtils.getFile from browser/base r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D134896
2022-01-19 18:37:25 +00:00
Nick Alexander 98a644b4c8 Bug 1749435 - Use Fluent to localize `bookmarks.html` at run-time rather than build-time. r=flod,mak,fluent-reviewers
This modernizes an old part of the build system to not require
build-time localization at all.  That's generally preferable.

The most significant changes to the in-product functionality is to
make import localize HTML so that we can use Fluent's `data-l10n-id`.

The locale used is the user's current locale.  This is different than
the existing approach, which always uses the build-time (repack)
locale.  I believe this is a strictly superior user experience and it
may lead to future improvements where-in the default bookmarks become
truly dynamic and vary with the user's chosen locale rather than being
point-in-time decisions.

I tried to restrict these changes to only applen when we import the
default bookmarks, but I think the various layers of flags no longer
achieve this restriction in practice and the formatting and
localization will apply to all imported `bookmarks.html` files.  Since
we don't anticipate (nor ourselves write) these new things in
(respectively, to) `bookmarks.html`, and the file is already
user-controlled, I don't think this exposes any meaningful change in
functionality (or in security surface).

Some notes:

1) There's no migration of `.inc` -> `.ftl` because this is the lone
   `.inc` file.

2) I elected to prefix all strings with `default-bookmarks-`, since
   the existing names were very short and likely to collide (now or in
   the future).

3) I elected to change the HTML file name for easier searching.

4) Since the `default-bookmarks.html` file is product-specific and the
   existing tests are in `toolkit/`, I elected to not test the file
   directly in automation.

5) We removed the explicit locale (or equivalent `%LOCALE%`) since
   Mozilla properties will redirect to the appropriate language
   automatically.

Differential Revision: https://phabricator.services.mozilla.com/D135816
2022-01-19 17:02:26 +00:00
Norisz Fay d4c6499662 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 d6cedea199 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
Iulian Moraru 3f4ed2d65a Backed out 2 changesets (bug 1721229) for causing multiple crashes on payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.
Backed out changeset 964d52daa110 (bug 1721229)
Backed out changeset 42b194ca04c4 (bug 1721229)
2022-01-19 04:10:45 +02:00
Sam Foster 1d6cea4574 Bug 1721229 - Remove the WebPayments UI code from the tree. r=MattN
* Remove the whole browser/components/payments directory
* ..including the nsIPaymentUIService implementation and its component registration
* Update docs index to remove the web payments UI source docs
* Remove residual rules from browser CSS
* Remove references from the static analysis tests

Differential Revision: https://phabricator.services.mozilla.com/D127329
2022-01-18 21:25:44 +00:00
Emilio Cobos Álvarez 45784a7335 Bug 1743047 - Split reveal-password and button and context-menu prefs. r=Gijs
The reveal password button might or might not be web-compatible, but it
might be worth having a separate pref for the context-menu entry.

Depends on D136086

Differential Revision: https://phabricator.services.mozilla.com/D136087
2022-01-17 14:18:52 +00:00
Emilio Cobos Álvarez 8ce808ebbd Bug 1743047 - Use "reveal" rather than show terminology consistently for the reveal password button. r=Gijs,fluent-reviewers
The pseudo-class and nsContextMenu context attribute were using reveal,
the pseudo-element and webidl attribute were using "show".

Use reveal consistently and update the accesskey so that there aren't
conflicts with existing commands. Also enable the feature in
browser_contextmenu_input.js so that this change is tested.

Differential Revision: https://phabricator.services.mozilla.com/D136086
2022-01-17 14:18:51 +00:00
Gijs Kruitbosch ccec3363d4 Bug 1749134 - fix error message when toggling containers caused by not removing from gClickAndHoldListenersOnElement, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D135948
2022-01-17 13:49:05 +00:00
Lyubomir Parvanov fe2024bf39 Bug 1731050 - Stop displaying hidden tabs in Recent Tabs popup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D134939
2022-01-17 12:13:08 +00:00
Paul Zuehlcke 0c8f85e0c6 Bug 1742433 - Test, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131426
2022-01-17 11:49:19 +00:00
Emilio Cobos Álvarez b651bfe99a Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert
With this patch on its own we get some a11y tests failures, but those
are fixed on a later patch.

Combobox select no longer creates frames for its <options>, nor an
nsListControlFrame. Instead, it computes its right intrinsic size using
the largest size of the options. This is better, because we render the
option text using the select style so if the select and option styles
are mismatched it'd cause changes in the size of the select when text
changes. See the following in a build without the patch, for example:

  <select>
    <option>ABC</option>
    <option style="font-size: 1px">Something long</option>
  </select>

This seems like a rather obscure case, but it's important to get it
right, see bug 1741888.

With this patch we use the same setup in content and parent processes
(this needs bug 1596852 and bug 1744152). This means we can remove a
bunch of the native view and popup code in nsListControlFrame. A couple
browser_* tests are affected by this change and have been tweaked
appropriately (the changes there are trivial).

Not creating an nsListControlFrame for dropdown select means that we
need to move a bunch of the event handling code from nsListControlFrame
to a common place that nsComboboxControlFrame can also use. That place
is HTMLSelectEventListener, and I think the setup is much nicer than
having the code intertwined with nsListControlFrame. It should be
relatively straight-forward to review, mostly moving code from one part
to another.

Another thing that we need to do in HTMLSelectEventListener that we
didn't use to do is listening for DOM mutations on the dropdown. Before,
we were relying on changes like text mutations triggering a reflow of
the listcontrolframe, which also triggered a reflow of the
comboboxcontrolframe, which in turn updated the text of the anonymous
content. Now we need to trigger that reflow manually.

There are some further simplifications that can be done after this
lands (cleanup naming of openInParentProcess and so on, among others),
but I'd rather land this first (after the merge of course) and work on
them separately.

Differential Revision: https://phabricator.services.mozilla.com/D132719
2022-01-17 11:10:05 +00:00
Kershaw Chang a69cdf873d Bug 1634121 - Add tests for invalid Content-Disposition header, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D135688
2022-01-17 09:21:54 +00:00
Marian-Vasile Laza 35a88d897e Backed out 2 changesets (bug 1744009) for causing reftest failures on select-3.html.
Backed out changeset 3e44e31d3d12 (bug 1744009)
Backed out changeset 619389788775 (bug 1744009)
2022-01-17 11:14:27 +02:00
Emilio Cobos Álvarez a8d469a8d0 Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert
With this patch on its own we get some a11y tests failures, but those
are fixed on a later patch.

Combobox select no longer creates frames for its <options>, nor an
nsListControlFrame. Instead, it computes its right intrinsic size using
the largest size of the options. This is better, because we render the
option text using the select style so if the select and option styles
are mismatched it'd cause changes in the size of the select when text
changes. See the following in a build without the patch, for example:

  <select>
    <option>ABC</option>
    <option style="font-size: 1px">Something long</option>
  </select>

This seems like a rather obscure case, but it's important to get it
right, see bug 1741888.

With this patch we use the same setup in content and parent processes
(this needs bug 1596852 and bug 1744152). This means we can remove a
bunch of the native view and popup code in nsListControlFrame. A couple
browser_* tests are affected by this change and have been tweaked
appropriately (the changes there are trivial).

Not creating an nsListControlFrame for dropdown select means that we
need to move a bunch of the event handling code from nsListControlFrame
to a common place that nsComboboxControlFrame can also use. That place
is HTMLSelectEventListener, and I think the setup is much nicer than
having the code intertwined with nsListControlFrame. It should be
relatively straight-forward to review, mostly moving code from one part
to another.

Another thing that we need to do in HTMLSelectEventListener that we
didn't use to do is listening for DOM mutations on the dropdown. Before,
we were relying on changes like text mutations triggering a reflow of
the listcontrolframe, which also triggered a reflow of the
comboboxcontrolframe, which in turn updated the text of the anonymous
content. Now we need to trigger that reflow manually.

There are some further simplifications that can be done after this
lands (cleanup naming of openInParentProcess and so on, among others),
but I'd rather land this first (after the merge of course) and work on
them separately.

Differential Revision: https://phabricator.services.mozilla.com/D132719
2022-01-16 23:31:22 +00:00
Dão Gottwald f06cfd70fb Bug 1685387 - Update the text on about:restartrequired to account for private windows. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D134675
2022-01-16 10:40:27 +00:00
Punam Dahiya 8108a5c646 Bug 1741795 - Make More from Mozilla content customizable by partner repacks r=preferences-reviewers,mviar,hectorz
Differential Revision: https://phabricator.services.mozilla.com/D134574
2022-01-14 22:57:34 +00:00
Niklas Baumgardner 60637708f9 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 18:06:11 +00:00
Sandor Molnar b2d1e0cb30 Backed out changeset 12ab8e6c1362 (bug 1642218) for causing browser-chrome failures in browser_tabMuteAffectsPiP. CLOSED TREE 2022-01-14 19:20:55 +02:00
Rashelle Hopkins ca77ba9aa2 Bug 1642218 - Make PiP reflect tab mute r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134891
2022-01-14 16:43:45 +00:00
Sandor Molnar eb2bc8daf7 Backed out changeset fb53fb5009a4 (bug 1741736) for causing browser-chrome failures in browser_parsable_css. CLOSED TREE 2022-01-14 17:32:52 +02:00
Niklas Baumgardner bb01085481 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 14:36:49 +00:00
Iulian Moraru 655fb06e3c Backed out changeset 843d1e2cee98 (bug 1741736) for causing mochitest failures on browser_all_files_referenced.js. CLOSED TREE 2022-01-13 22:40:36 +02:00
Niklas Baumgardner ce3333f502 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-13 19:04:55 +00:00
Dão Gottwald bfdf5027f7 Bug 1749717 - Let the profiler popup use more shared colors and relative font sizes instead of hardcoded ones. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D135699
2022-01-13 09:09:50 +00:00
Katherine Patenio 6385c84e6a Bug 1747162 - reduce intermittence of browser_documentnavigation.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D135632
2022-01-12 16:25:05 +00:00
Neil Deakin 5f1ff58926 Bug 371900, remove more now-unneeded empty oncommand attributes, r=bgrins,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D135243
2022-01-11 20:02:30 +00:00
Neil Deakin fa63e4a464 Bug 371900, always fire a command event on key elements except for those that are marked not to, r=masayuki
The edit-related commands are special because they are handled by ShortcutKeyDefinitions.cpp yet we have duplicate keys because we want the menu disabled state to update properly, so we don't fire command events on those.

Differential Revision: https://phabricator.services.mozilla.com/D135157
2022-01-11 20:02:29 +00:00
Mark Banner 522af762cb Bug 1748509 - Add builder fields to snapshot groups and more indices. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D135122
2022-01-11 14:32:52 +00:00
Kershaw Chang 5d806765a0 Bug 1741425 - Enable more mochitest with socket process, r=ahal,webdriver-reviewers,preferences-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D134485
2022-01-11 09:49:45 +00:00
Rashelle Hopkins 4269ad9a7c Bug 1639774 - Add telemetry probe for PiP disabled state r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D134090
2022-01-10 21:08:37 +00:00
Nicholas Rishel 13bad78204 Bug 1747293 - Strip hash and search parameter from about dialog manual update url text to prevent the window from widening due to text length. r=bhearsum,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D134546
2022-01-10 20:49:02 +00:00
Evgenia Kotovich a37f1a86b6 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 b913d2cf14 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
criss e2948093fb Backed out 2 changesets (bug 371900) for causing bug 1749182 . CLOSED TREE
Backed out changeset e59035c65af3 (bug 371900)
Backed out changeset 6434bce9c7d4 (bug 371900)
2022-01-09 16:26:02 +02:00
Neil Deakin 64a4726936 Bug 371900, remove more now-unneeded empty oncommand attributes, r=bgrins,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D135243
2022-01-08 18:07:21 +00:00
Neil Deakin 6b88580db1 Bug 371900, always fire a command event on key elements except for those that are marked not to, r=masayuki
The edit-related commands are special because they are handled by ShortcutKeyDefinitions.cpp yet we have duplicate keys because we want the menu disabled state to update properly, so we don't fire command events on those.

Differential Revision: https://phabricator.services.mozilla.com/D135157
2022-01-08 18:07:21 +00:00
Butkovits Atila 7fd9ee2ca4 Backed out changeset 480b5274349b (bug 1748509) for causing indexdb issues. a=backout 2022-01-08 02:50:53 +02:00
Jonathan Watt ce687b0a09 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
kz04px b8ef05845e Bug 1489124 - Open "List all tabs" button on mouse down. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D133883
2022-01-07 14:56:54 +00:00
Mark Banner d408c6db75 Bug 1748509 - Add builder fields to snapshot groups and more indices. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D135122
2022-01-07 11:52:00 +00:00
Marian-Vasile Laza a77519bcfe Backed out changeset b7c3bb99e390 (bug 1748509) for causing bc failures on browser_startup_mainthreadio.js. CLOSED TREE 2022-01-07 11:19:52 +02:00
Cristian Tuns 263078f4c0 Backed out changeset e7b991987ae5 (bug 1742797) for causing bug 1748808 CLOSED TREE 2022-01-07 02:32:44 -05:00
Mark Banner 9f226277e4 Bug 1748509 - Add builder fields to snapshot groups and more indices. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D135122
2022-01-07 07:20:35 +00:00
Jonathan Watt 2a9a0b264a 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
Bernard Igiri 51f6dd7336 Bug 1714276 - Limit height of tab when font size is changed r=dao,desktop-theme-reviewers
Set a maximum height on tabs to prevent it from expanding and moving the display of the web page.

Differential Revision: https://phabricator.services.mozilla.com/D134169
2022-01-06 16:33:27 +00:00
Iulian Moraru 9b65ecfdbf 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
Dão Gottwald 902450f0f4 Bug 1747711 - Set margin instead of padding on "Submit Feedback" link to fix weird outline on focus. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D134710
2022-01-06 11:23:52 +00:00
kz04px 24d75655e2 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
Hiroyuki Ikezoe a74d5debf3 Bug 1742797 - Discard WebRender resources when popup hides. r=Gijs,emilio
The browser test in this change was originally written by Gijs.

Differential Revision: https://phabricator.services.mozilla.com/D134444
2022-01-06 02:51:38 +00:00
Noemi Erli e560c5d324 Backed out changeset 14f484747a66 (bug 1742797) for causing failures in nsMenuPopupFrame.cpp CLOSED TREE 2022-01-06 00:49:35 +02:00
Hiroyuki Ikezoe bd03f6e7ce Bug 1742797 - Discard WebRender resources when popup hides. r=Gijs,emilio
The browser test in this change was originally written by Gijs.

Differential Revision: https://phabricator.services.mozilla.com/D134444
2022-01-05 21:24:20 +00:00
Neil Deakin 996235ec9b Bug 1748483, use a controller for the commands in page info so that they are updated properly, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D135067
2022-01-05 18:05:38 +00:00
Butkovits Atila 6078653562 Backed out changeset 626d66f4050f (bug 1731050) for causing failures at browser_datachoices_notification.js. CLOSED TREE 2022-01-05 18:43:24 +02:00
Lyubomir Parvanov b8e3aad1a3 Bug 1731050 - Stop displaying hidden tabs in Recent Tabs popup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D134939
2022-01-05 15:37:20 +00:00
Cristian Tuns 98277bd23e 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 4ce19c4fc0 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
Hiroyuki Ikezoe 7c3f39418b Bug 1348786 - Use SwipeTracker on Windows. r=tnikkel
This code is equivalent with what nsChildView.mm does.

Differential Revision: https://phabricator.services.mozilla.com/D134369
2022-01-05 09:08:08 +00:00
Sergey Galich 87ec07c548 Bug 1747288 - Fix test pref setup r=tgiles,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D134519
2022-01-04 16:08:48 +00:00
Rob Wu 825d308bd0 Bug 1746494 - Account for invalid linkUrls in context menus r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D134918
2022-01-03 13:10:23 +00:00
Martin Thomson 222f4654e3 Bug 1745678 - Remove TLS 1.0/1.1 override UX, r=Gijs,mkaply,fluent-reviewers
I've erred on the side of removing code here.  I think that I got most of it,
but there was quite a bit of accrued code.

Thanks to Gijs for fluent fixups (and code cleanup).  This retains some notice
of the failed version.

Bug 1586846, Bug 1579285, Bug 1586846, and Bug 1617275 all added code here.

Differential Revision: https://phabricator.services.mozilla.com/D133591
2021-12-28 23:39:43 +00:00
Daisuke Akatsuka f53fe4b9a2 Bug 1701871: Handle bookmark telemetry in browser-places instead of listener had used for only the telemetry. r=mak
Depends on D131108

Differential Revision: https://phabricator.services.mozilla.com/D131109
2021-12-23 22:34:56 +00:00
Gijs Kruitbosch 65e85facbc 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
Gijs Kruitbosch 4c41898a5b Bug 1719939 - remove browser.proton.enabled from network error page code, r=jaws
Depends on D134308

Differential Revision: https://phabricator.services.mozilla.com/D134309
2021-12-22 21:41:40 +00:00
Gijs Kruitbosch b095cb0969 Bug 1747065 - remove plugin.load_flash_only setters which are no-ops r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D134398
2021-12-21 14:34:48 +00:00
Marco Bonardo eb4556e469 Bug 1742558 - Add a Places Previews module. r=Standard8
Add a PlacesPReviews.jsm module that offers an alternative long term storage of
thumbnails or images. Previews are stored using md5 hash of the page url, in WebP format.
Removals happen using the moz_previews_tombstones table, orphans removal happens
on Places weekly maintenance.
The same moz-page-thumb: protocol that is currently used for volatile thumbnails,
can be used with Places previews, by using "places-previews" as host.
All the feature is behind the places.previews.enabled pref, not enabled yet.

Differential Revision: https://phabricator.services.mozilla.com/D131916
2021-12-21 10:53:45 +00:00