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

25960 Коммитов

Автор SHA1 Сообщение Дата
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
Andreea Pavel f2b1d23319 Bug 1616011 - disable browser_devices_get_user_media.js on linux r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134237
2021-12-21 06:20:30 +00:00
Hiroyuki Ikezoe 2f3a3e6336 Bug 1746944 - Initialize gHistorySwipeAnimation.isLTR in HSA_init even if ui.swipeAnimationEnabled is disabled. r=spohl
gHistorySwipeAnimation.isLTR is used to tell the navigation direction [1],
it needs to be independent from the fact whether the swipe animation is
supported or not.


[1] https://searchfox.org/mozilla-central/rev/125116c312b0a9c438d44e16011b116950caf17e/browser/base/content/browser-gestureSupport.js#240

Differential Revision: https://phabricator.services.mozilla.com/D134329
2021-12-21 01:32:54 +00:00
Sandor Molnar c397865a11 Backed out 2 changesets (bug 1742558) for causing build bustages in PageThumbProtocolHandler.
Backed out changeset 7fa69b62b226 (bug 1742558)
Backed out changeset 22241a8445f9 (bug 1742558)
2021-12-20 17:38:16 +02:00
Marco Bonardo 7a7e49b72a 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-20 15:15:55 +00:00
Daisuke Akatsuka f406b85add Bug 1733854: Remove unused onItemMoved function. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D131108
2021-12-19 23:09:43 +00:00
Edgar Chen f9a4a6bd64 Bug 1739220 - Handle fullscreen state in a more reliable way; r=smaug,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131185
2021-12-17 09:15:10 +00:00
Anny Gakhokidze 81d0b36175 Bug 1721217 - Part 5: Change the error code when we cancel loads due to another one starting, r=nika
This allows us to move away from using IsNavigating field in parent-controlled
paths.  Use a new distinct error code in cases when we cancel loads in
Canonical BC due to another load starting. This way, we know to not reset the
urlbar if we are doing another load.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1721217#c10 for longer
explanation of what is going on here.

Differential Revision: https://phabricator.services.mozilla.com/D126845
2021-12-16 22:27:17 +00:00
Anny Gakhokidze 27d4a9c07f Bug 1721217 - Part 4: Fix search tests to wait for a stop event a bit longer, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D126844
2021-12-16 22:27:16 +00:00
Peter Van der Beken 6cd3771ef1 Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132861
2021-12-16 22:27:07 +00:00
Peter Van der Beken fd2d03af6a Bug 1744397 - Simplify refresh code: remove aRepeat argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132860
2021-12-16 22:27:06 +00:00
Paul Zuehlcke f5a1c69295 Bug 1745959 - Do not fall back to selected browser in TabDialogBox getter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D133778
2021-12-16 16:38:54 +00:00
Jonathan Watt ac90ddff59 Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 15:12:33 +00:00
Chris Peterson 2780c442e1 Bug 1661791 - Remove Fission [F] tab toolip and move subframe pids to the (pid) tooltip. r=mconley
Instead of showing:

(pid 3) [F 2, 1, 4]

The tab tooltip will now show a combined list of pids with the content pid followed by a sorted list of subframe pids:

(pids 3, 1, 2, 4)

Depends on D133854

Differential Revision: https://phabricator.services.mozilla.com/D133855
2021-12-16 05:26:42 +00:00
Chris Peterson 38b49d89f5 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 cd5d088078 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-15 19:55:34 +00:00
Emilio Cobos Álvarez 8589933b21 Bug 1745189 - Don't hide the #TabsToolbar titlebar buttons when in fullscreen, even if the menubar is shown. r=dao,desktop-theme-reviewers
Since the menubar is not a fullscreentoolbar, it will be collapsed when
on fullscreen.

Differential Revision: https://phabricator.services.mozilla.com/D133399
2021-12-15 18:02:30 +00:00
Eemeli Aro 18caf861b1 Bug 1733490 - Migrate CSP error messages from extensions.properties to Fluent. r=zbraniecki,mixedpuppy,flod
The actual messages were migrated using https://github.com/mozilla/properties-to-ftl,
while C++ changes use patterns established by https://bugzilla.mozilla.org/show_bug.cgi?id=1742106.

Differential Revision: https://phabricator.services.mozilla.com/D131594
2021-12-15 16:09:03 +00:00
Gijs Kruitbosch c132b26482 Bug 1745398 - fix fullscreen button in hamburger panel now that hiding panels from click events inhibits command events, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D133486
2021-12-14 21:27:59 +00:00
Gijs Kruitbosch 19fa3ca917 Bug 1745348 - bookmark subview items shouldn't try to hide the panel themselves, breaking the command/oncommand handling, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D133471
2021-12-14 21:27:51 +00:00
Csoregi Natalia 3bea0a777e Backed out 2 changesets (bug 1739220) for causing multiple failures e.g.browser_media_control_non_eligible_media.js. CLOSED TREE
Backed out changeset 20bce7cd571c (bug 1739220)
Backed out changeset f69aa1b07b51 (bug 1739220)
2021-12-14 20:32:26 +02:00
Edgar Chen 0b9cb3fd37 Bug 1739220 - Handle fullscreen state in a more reliable way; r=smaug,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131185
2021-12-14 15:23:54 +00:00
Norisz Fay 333caceb64 Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken 6c947d1a00 Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132861
2021-12-14 10:13:59 +00:00
Peter Van der Beken cc2d4f0467 Bug 1744397 - Simplify refresh code: remove aRepeat argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132860
2021-12-14 10:13:58 +00:00
Dragana Damjanovic 1fd7957fc0 Bug 1744006 - Replace dom.securecontext.whitelist_onions with dom.securecontext.allowlist_onions and dom.securecontext.whitelist with dom.securecontext.allowlist r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D133660
2021-12-14 05:20:08 +00:00
Butkovits Atila d1b988065a Bug 1616011 - disable browser_devices_get_user_media.js on Linux_64 for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133709
2021-12-14 02:53:07 +00:00
Mark Striemer 1aa3cfe660 Bug 1745262 - Ensure print previews/spinners hidden when system dialog is open r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D133415
2021-12-13 16:02:44 +00:00
lyavor 545ca5ab31 Bug 1730920 - Https only mode shouldn't be triggered by the wifi portal code. r=nhnt11,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D131125
2021-12-13 13:32:11 +00:00
Mark Banner 9671e83fa7 Bug 1703357 - Update browser_startup to prevent osfile.jsm being loaded before opening first browser window. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D129373
2021-12-10 20:25:20 +00:00
Jonathan Watt 749c161186 Bug 1745303 - Remove browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js. r=mstriemer DONTBUILD
The behaviour that this test is testing is specific to the old UI. The new UI
allows users to switch tabs at will while tab modal print previews are open.

Differential Revision: https://phabricator.services.mozilla.com/D133432
2021-12-10 16:18:54 +00:00
Jonathan Watt f2d71d8a70 Bug 1745317 - Port browser_printpreview_crash.js to the new UI. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133435
2021-12-10 16:17:25 +00:00
Tim Huang 26082850f4 Bug 1743418 - Part 2: Remove URLQueryStrippingListProcessScript.js and URLQueryStrippingListService.jsm from the known list in browser startup tests. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132991
2021-12-10 09:15:21 +00:00
Iulian Moraru e4f169b13e 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
Tim Giles 9d67482526 Bug 1744989 - Restore logo in about:protections. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D133355
2021-12-09 22:18:31 +00:00
Niklas Baumgardner 0f47b1bf57 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-09 21:06:37 +00:00
Jonathan Watt 958b942611 Bug 1745247 - Port browser_printpreview.js to the new UI. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133394
2021-12-09 20:37:35 +00:00
Andrei Oprea ef300c52d4 Bug 1738286 - New schema and enrollment flow for rollouts r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D129835
2021-12-09 17:58:18 +00:00
Florian Quèze 969ec01ebd Bug 1744993 - avoid leaving about:robots open at the end of browser-chrome mochitests, r=Gijs.
Depends on D132055

Differential Revision: https://phabricator.services.mozilla.com/D133205
2021-12-09 11:27:41 +00:00
Frederik Braun e69b0005a4 Bug 1744924 - Run mixed-content tests with https-first mode disabled r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D133336
2021-12-09 09:35:50 +00:00
Gijs Kruitbosch 673a4bc4be Bug 1735314 - tests, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D128191
2021-12-08 14:12:07 +00:00
Rob Wu d6767c7c9e Bug 1714846 - Really hide panels on hide, r=robwu,emilio
Differential Revision: https://phabricator.services.mozilla.com/D132574
2021-12-07 11:50:19 +00:00
Butkovits Atila 5fc1b29b43 Bug 1616011 - disable browser_devices_get_user_media.js on Linux for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131997
2021-12-06 23:26:32 +00:00
Emilio Cobos Álvarez 28e0d34df0 Bug 1744300 - More efficiently style content select entries. r=mconley
We're already batching similar styles, so by using classes instead of
style attributes and :nth-child selectors we allow the elements to share
styles, and make their styling more efficient over-all.

Differential Revision: https://phabricator.services.mozilla.com/D132829
2021-12-06 22:04:02 +00:00
Ed Lee 9b5477ed90 Bug 1744577 - Update colorway-first screen headline to "Life in Color" r=emcminn
Reuse start screen title to replace original colorway title.

Differential Revision: https://phabricator.services.mozilla.com/D132982
2021-12-06 20:05:38 +00:00
Dan Mosedale 3407e72ceb Bug 1740393 Update preffed off "More from Mozilla 96" experiment w/QR code & email link, r=preferences-reviewers,desktop-theme-reviewers,pdahiya,dao,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D132435
2021-12-04 17:37:37 +00:00
Nihanth Subramanya b53d383be3 Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-04 01:49:43 +00:00
Ed Lee 55e73f4bb8 Bug 1739055 - Reset custom homepage / start page only on saving colorway r=pdahiya
Handle checkbox only from primary button and not any completion of colorway screen.

Depends on D130930

Differential Revision: https://phabricator.services.mozilla.com/D132830
2021-12-04 01:07:33 +00:00
Ed Lee 6b84220154 Bug 1740623 - Adjust MR2 upgrade spotlight content r=pdahiya,emcminn
Remove start screen reusing its subtitle on the colorway screen. Get the previous theme before ready as colorway screen is now first and randomly picks a color, so detect testing to remove randomness. Show rounded mostly transparent background for variants now packed more tightly within the disc. Shrink and deemphasize secondary button. Reenable upgrade spotlight after turning off in D131023.

https://www.figma.com/file/blhdnzQOhWYKcdiCzywMuG/MR2-Onboarding?node-id=2548%3A158106

Differential Revision: https://phabricator.services.mozilla.com/D130930
2021-12-04 00:54:47 +00:00
Butkovits Atila 13de1c3770 Backed out changeset dbd90d486efd (bug 1743148) for causing failures at browser_captivePortal_certErrorUI.js. CLOSED TREE 2021-12-04 01:07:26 +02:00
Nihanth Subramanya 77a737b1a4 Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-03 21:52:41 +00:00
criss 67b2c3928c Backed out changeset f03fa07c78df (bug 1743148) for causing failures on browser_captivePortal_certErrorUI.js. CLOSED TREE 2021-12-03 22:15:36 +02:00
Nihanth Subramanya c80b5b3dfc Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-03 19:16:48 +00:00
Joel Maher 63bf096aef Bug 1743907 - Remove webrender annotation from manifestparser manifests. r=ahal,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D132682
2021-12-03 16:04:29 +00:00
Mike Conley e2a87eba96 Bug 1634804 - Fire an event for when about:restartrequired is loaded to make tests more reliable. r=kpatenio
This is similar to what we do for about:neterror.

Differential Revision: https://phabricator.services.mozilla.com/D132724
2021-12-03 01:01:55 +00:00
Brendan Dahl 95768e21ee Bug 1743838 - Update pdf.js to version 2.12.248 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D132586
2021-12-02 23:04:11 +00:00
Emilio Cobos Álvarez 2abc89c41e Bug 1509931 - Use titlebar radius on Linux and make titlebar set-up work for lightweight themes. r=stransky,dao
To do this, we always draw the native titlebar behind the toolbox, and
then make the toolbox adapt to it by using the titlebar radius. This
makes us preserve the shadow properly.

On Wayland we'd double-draw the shadow (see bug 1509931 comment 4) so
this fixes it by trimming it as well using border-radius.

Differential Revision: https://phabricator.services.mozilla.com/D128681
2021-12-01 18:15:12 +00:00
Gijs Kruitbosch c662e89070 Bug 1701394 - fix tab text moving when tab label direction doesn't match UI direction, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D132580
2021-12-01 17:45:48 +00:00
Gijs Kruitbosch e880bf3883 Bug 1736701 - fix display of error reporting checkbox on x-frame-options:deny pages, r=pbz,desktop-theme-reviewers
#overrideWeakCryptoPanel was removed in bug 1321778, so the CSS is dead and I removed it.
Otherwise I'm dragging the 2 advanced panel bits into using .hidden instead of
inline CSS, and using the single 'advanced-panel' class to handle more of their styling,
with the box background/border moving to an ID selector to keep it specific to the
bad cert bits.

Differential Revision: https://phabricator.services.mozilla.com/D129027
2021-12-01 14:59:42 +00:00
Narcis Beleuzu 4c87b2e488 Backed out 12 changesets (bug 1721217) for bc failures on browser_TopLevelNavigationDelegate.js
Backed out changeset 5fe3c617d521 (bug 1721217)
Backed out changeset c131e4a6d9d5 (bug 1721217)
Backed out changeset a59210a5b400 (bug 1721217)
Backed out changeset 74362b0c39c0 (bug 1721217)
Backed out changeset c8075b91d660 (bug 1721217)
Backed out changeset 46512deaf0e5 (bug 1721217)
Backed out changeset b38bc569d227 (bug 1721217)
Backed out changeset ee9bd012fda8 (bug 1721217)
Backed out changeset 7aa2726a0982 (bug 1721217)
Backed out changeset 885ced5f4bb4 (bug 1721217)
Backed out changeset 7d3f99ca3f44 (bug 1721217)
Backed out changeset 2f5a0164679a (bug 1721217)
2021-12-01 03:38:10 +02:00
Mark Banner 3252cf4d7b Bug 1743568 - Add functionality to tabbrowser to allow running the beforeunload handler separate to the removing tabs call. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132462
2021-11-30 22:01:37 +00:00
Tim Giles 013dfb698a Bug 1739390 - Remove Lockwise branding in about:logins. r=sfoster,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D131862
2021-11-30 18:44:14 +00:00
Anny Gakhokidze a2ec84dc5c Bug 1721217 - Part 5: Change the error code when we cancel loads due to another one starting, r=nika
This allows us to move away from using IsNavigating field in parent-controlled
paths.  Use a new distinct error code in cases when we cancel loads in
Canonical BC due to another load starting. This way, we know to not reset the
urlbar if we are doing another load.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1721217#c10 for longer
explanation of what is going on here.

Differential Revision: https://phabricator.services.mozilla.com/D126845
2021-11-30 16:31:36 +00:00
Anny Gakhokidze d7d15d402a Bug 1721217 - Part 4: Fix search tests to wait for a stop event a bit longer, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D126844
2021-11-30 16:31:35 +00:00
Nick Alexander 8acec2021a Bug 1709522 - Include WinToast license in `browser/omni.ja`, not in `/omni.ja`. r=Gijs
Make `chrome/browser/content/browser/license.html` include the
WinToast license if the WDBA is enabled and never include the WinToast
license in `chrome/toolkit/content/global/license.html`.

While here, fix the anchor, which is case sensitive.

Differential Revision: https://phabricator.services.mozilla.com/D132421
2021-11-30 10:21:21 +00:00
Makoto Kato 48a5fa5e43 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
Tim Huang 64f488c478 Bug 1742582 - Add 'URLQueryStrippingListService.jsm' into browser_startup_content.js and browser_startup_content_subframe.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132227
2021-11-29 22:26:01 +00:00
Alexandru Michis 31355ace24 Backed out 3 changesets (bug 1742582) for causing bc failures in browser_startup_content_subframe.js
CLOSED TREE

Backed out changeset a9e341a38fae (bug 1742582)
Backed out changeset a9ba4a859295 (bug 1742582)
Backed out changeset bd9307118864 (bug 1742582)
2021-11-29 18:45:04 +02:00
Tim Huang 470c6fc842 Bug 1742582 - Add 'URLQueryStrippingListService.jsm' into browser_startup_content.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D132227
2021-11-29 14:57:20 +00:00
Gijs Kruitbosch f7af2c33b1 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
Marian-Vasile Laza 0a5eef9186 Bug 502258 - lint fix r=fix CLOSED TREE 2021-11-26 02:23:17 +02:00
Narcis Beleuzu a322582a00 Backed out 11 changesets (bug 1721217) for bc failures on browser_scrollPositions.js . CLOSED TREE
Backed out changeset 750f4a84b30e (bug 1721217)
Backed out changeset c4eb4ad769ad (bug 1721217)
Backed out changeset 81af11d67439 (bug 1721217)
Backed out changeset 548f2441b7c6 (bug 1721217)
Backed out changeset cd584129321a (bug 1721217)
Backed out changeset f5f5291d1da8 (bug 1721217)
Backed out changeset 9ad66ceec1e2 (bug 1721217)
Backed out changeset 10b53a21bb23 (bug 1721217)
Backed out changeset 3755cfbe22fe (bug 1721217)
Backed out changeset 71436dc6c4c4 (bug 1721217)
Backed out changeset ecf33b73ae60 (bug 1721217)
2021-11-26 01:51:03 +02:00
Emilio Cobos Álvarez 45c048320a Bug 502258 - Don't enable the pref explicitly in context menu test.
Since there's accesskey conflicts with every single letter of the word,
which cause test failures.

MANUAL PUSH: Orange fix CLOSED TREE
2021-11-26 00:50:18 +01:00
Emilio Cobos Alvarez efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Anny Gakhokidze 5a620b3dd9 Bug 1721217 - Part 5: Change the error code when we cancel loads due to another one starting, r=nika
This allows us to move away from using IsNavigating field in parent-controlled
paths.  Use a new distinct error code in cases when we cancel loads in
Canonical BC due to another load starting. This way, we know to not reset the
urlbar if we are doing another load.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1721217#c10 for longer
explanation of what is going on here.

Differential Revision: https://phabricator.services.mozilla.com/D126845
2021-11-25 20:40:58 +00:00
Anny Gakhokidze 2322900dc4 Bug 1721217 - Part 4: Fix search tests to wait for a stop event a bit longer, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D126844
2021-11-25 20:40:58 +00:00
Emilio Cobos Álvarez 2dca36cb25 Bug 502258 - Add a Show Password button to <input type=password> controls. r=Gijs
It's controlled by the pref:
layout.forms.input-type-show-password-button.enabled

Differential Revision: https://phabricator.services.mozilla.com/D130407
2021-11-25 20:12:05 +00:00
Benjamin VanderSloot 83bac9db86 Bug 1731739 part 2 - Use site as key for 3rdPartyStorage permissions, rather than origin r=anti-tracking-reviewers,pbz,timhuang
- Adding browser tests to verify correct behavior in integration
    - New test that fails on previous version: toolkit/components/antitracking/test/browser/browser_storageAccessScopeSameSiteWrite.js
- Add the ability to store permission by site, use 3rdPartyStorage for this
- No change is made to permission reads. These already proceed recursively, which eventually reach the site.
- When fetching all permissions for a principal, also look for site-scoped permissions on its site's principal

Differential Revision: https://phabricator.services.mozilla.com/D130675
2021-11-23 18:25:58 +00:00
Marian-Vasile Laza 0e7ef02d35 Backed out 3 changesets (bug 1731739) for causing build bustages on PermissionManager.cpp.
Backed out changeset 2f723b6e625b (bug 1731739)
Backed out changeset 7b053cfeab3e (bug 1731739)
Backed out changeset c4a31c29c441 (bug 1731739)
2021-11-23 19:06:14 +02:00
Benjamin VanderSloot 921cf98880 Bug 1731739 part 2 - Use site as key for 3rdPartyStorage permissions, rather than origin r=anti-tracking-reviewers,pbz,timhuang
- Adding browser tests to verify correct behavior in integration
    - New test that fails on previous version: toolkit/components/antitracking/test/browser/browser_storageAccessScopeSameSiteWrite.js
- Add the ability to store permission by site, use 3rdPartyStorage for this
- No change is made to permission reads. These already proceed recursively, which eventually reach the site.
- When fetching all permissions for a principal, also look for site-scoped permissions on its site's principal

Differential Revision: https://phabricator.services.mozilla.com/D130675
2021-11-23 16:18:42 +00:00
lamoure6 3478e8ae47 Bug 1719938 - Removed remaining (non-negated) -moz-proton media queries. r=mhowell,mtigley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125328
2021-11-22 22:10:33 +00:00
Chris H-C 8d0d430403 Bug 1741674 - Advise in each metrics.yaml that we have docs for adding metrics r=TravisLong,nalexander
Depends on D131639

Differential Revision: https://phabricator.services.mozilla.com/D131640
2021-11-22 20:07:38 +00:00
Tom Ritter fbcbbe1446 Bug 1742116: Remove a test for dead functionality r=dao
Differential Revision: https://phabricator.services.mozilla.com/D131636
2021-11-22 16:12:21 +00:00
Paul Zuehlcke 3ddba51ab7 Bug 1739091, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131268
2021-11-22 16:11:45 +00:00
Christoph Kerschbaumer 6bd6cb5587 Bug 1742351: Update more browser/ tests to be compliant with https-first mode r=extension-reviewers,Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D131773
2021-11-22 14:26:32 +00:00
Iulian Moraru 91d2056266 Backed out changeset 7d9cd61d95ce (bug 1742351) for causing bc failures on browser_paste_event_at_middle_click_on_link.js. CLOSED TREE 2021-11-22 14:14:16 +02:00
Christoph Kerschbaumer 5d3f6e901c Bug 1742351: Update more browser/ tests to be compliant with https-first mode r=extension-reviewers,Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D131773
2021-11-22 10:49:45 +00:00
Butkovits Atila ee77dc4fe8 Backed out changeset 8c47ea741114 (bug 1742111) for causing Bug 1742237. a=backout 2021-11-21 12:15:20 +02:00
Tomislav Jovanovic 3f442e7f66 Bug 1708193 - Remove mozapps/extensions/internal/Content.js r=rpl
Use Extension:FlushJarCache listener in ExtensionProcessScript.jsm instead,
it's already loaded everywhere and early enough from AddonManager.jsm.

Differential Revision: https://phabricator.services.mozilla.com/D129952
2021-11-20 13:10:58 +00:00
Dão Gottwald 5e8698ee04 Bug 1742111 - Rename internal accentcolor and textcolor properties to be more consistent with the webext theme API. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D131634
2021-11-19 20:00:07 +00:00
Dão Gottwald 6b1d9f7cac 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
Paul Zuehlcke b175c9b703 Bug 1740232 - Add telemetry for the privacy.restrict3rdpartystorage.rollout.enabledByDefault pref. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D130740
2021-11-18 20:21:29 +00:00
Norisz Fay 93542bbe6c Backed out changeset 32aba4f911e2 (bug 1740232) for causing build bustages on TelemetryScalarData.h CLOSED TREE 2021-11-18 20:24:18 +02:00
Paul Zuehlcke 6f14bd420e Bug 1740232 - Add telemetry for the privacy.restrict3rdpartystorage.rollout.enabledByDefault pref. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D130740
2021-11-18 18:05:52 +00:00
Hannah Peuckmann bf0632fefd 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 40c6b9e76f 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
Julian Descottes 2e9e1cc305 Bug 1741369 - [devtools] Update paths to loader files outside devtools/ r=perftest-reviewers,preferences-reviewers,sparky,Gijs
Depends on D131217

Differential Revision: https://phabricator.services.mozilla.com/D131218
2021-11-17 12:43:27 +00:00
Niklas Goegge 5d592a6adb Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.

Depends on D129162

Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-17 11:04:34 +00:00
criss 507f143b88 Backed out 2 changesets (bug 1617611) for causing mochitest failures on storageAccessWithDynamicFpi.js. CLOSED TREE
Backed out changeset fdb2c6bfc0c6 (bug 1617611)
Backed out changeset c3352f4b3681 (bug 1617611)
2021-11-16 13:02:05 +02:00
Niklas Goegge 5b684c7fc6 Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.

Depends on D129162

Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-16 10:15:45 +00:00
Niklas Baumgardner c4fb4fdc27 Bug 1704383 - Remove light strip at bottom of about dialog. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D130663
2021-11-11 19:51:10 +00:00