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

32029 Коммитов

Автор SHA1 Сообщение Дата
Luca Greco e6655bddff Bug 1770288 - Fix wrong parameter type signature in AddonTestUtils.checkMessages call in browser_ext_tabs_insertCSS.js. r=willdurand
This other call to AddonTestUtils.checkMessage is also using a `forbidden` option wrongly set to the regular expression,
and the manual `messages.filter(...)` is definitely a workaround for preventing an intermittent similar to the one
fixed in the other patch. Better to fix this other call even if not strictly related to this bugzilla issue.

Depends on D146935

Differential Revision: https://phabricator.services.mozilla.com/D146936
2022-05-23 17:19:38 +00:00
Mathieu Leplatre 0f8ea5f41e Bug 1702759 - Remove load_dump preference r=robwu
This is a breaking change. It is not possible to control the loading of dumps from a preference anymore.

Dumps are only loaded if server is pointed at PROD. The recommended way to prevent dumps loading in tests is to store a high timestamp in the local DB.

Differential Revision: https://phabricator.services.mozilla.com/D146049
2022-05-23 16:24:58 +00:00
Mathieu Leplatre caf000e948 Bug 1702759 - Remove bucket name preference r=robwu
This introduces a breaking change: the buckets cannot be changed via preferences anymore.

Before landing this patch, we should have a released a new version of the Remote Settings DevTools that is compatible with this new API.

Differential Revision: https://phabricator.services.mozilla.com/D145455
2022-05-23 16:24:57 +00:00
Cristian Tuns c1b7706be0 Backed out changeset 5c914173639f (bug 1767473) for causing mochitest failures(Assertion failures) CLOSED TREE 2022-05-23 12:12:55 -04:00
Sarah Clements 9e5fc5eafe Bug 1767473 - Add additional functionality to closed tabs in Firefox View r=Gijs,sfoster
* add event listener and update list when a tab is closed
* add additional styling, favicon element and keyboard navigation support
* add tests

Differential Revision: https://phabricator.services.mozilla.com/D145906
2022-05-23 15:36:17 +00:00
Dão Gottwald 648bfd4a14 Bug 1770765 - Session Restore should ignore the Firefox View tab. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D147088
2022-05-23 15:08:36 +00:00
Hannah Peuckmann 34a3c8bfae Bug 1722228 - Fix backspace triggers clearing of site data on macOS. r=pbz,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145540
2022-05-23 12:42:07 +00:00
Scott 49ba6a6e01 Bug 1767445 - Pocket newtab topics widget r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D146327
2022-05-20 22:04:46 +00:00
Marco Bonardo 981b10c3d0 Bug 1768165 - Central-part - Remove old methods from SnapshotSelector. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D145734
2022-05-20 16:04:43 +00:00
Barret Rennie 234867e3ce Bug 1766916 - Add error handling to RemoteImages.patchMessage r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D145038
2022-05-20 15:49:34 +00:00
Luca Greco 61c161b441 Bug 1739114 - Moved privileged WebExtensions permissions in their own JSONSchema type and added a new custom privileged keyword on each privileged manifest fields. r=robwu,mixedpuppy
This patch includes only the subset of D145687 changes related to the reworked JSONSchema data, plus some minor changes to Schemas.jsm to take the new
JSONSchema type ("PrivilegedPermissions") and the new custom JSONSchema keyword (the boolean "privileged" property used to identify manifest fields
only allowed in privileged extensions).

Besides the changes to the schema data, this patch is not expected to introduce any difference in behavior and so it could also land on its own
if needed (and the rest of the changes landed separately).

Differential Revision: https://phabricator.services.mozilla.com/D146800
2022-05-20 08:55:03 +00:00
Drew Willcoxon 7a3f3d2e63 Bug 1770012 - Update adaptive history when an adaptive history autofill result is picked. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D146864
2022-05-20 04:10:00 +00:00
Barret Rennie 15e61ebcaa Bug 1767171 - Prevent browser_asrouter_bug1761552.js from being intermittent r=emcminn
There is a race condition somewhere in the localization code between
registering a L10nFileSource and attempting to use it too soon. We don't
actually need to test that the translation of our string ID works as expected,
just that the correct translation file ends up in the correct place, so I've
removed the calls that do actual localization.

Differential Revision: https://phabricator.services.mozilla.com/D145514
2022-05-20 03:08:36 +00:00
Katherine Patenio e3281c459e Bug 1768518 - add colorway description and title to colorway modal. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D146600
2022-05-19 22:13:26 +00:00
Marian-Vasile Laza 6924977975 Backed out changeset d3577f741ef5 (bug 1739114) for causing xpcshell failures on test_ext_permissions.js. CLOSED TREE 2022-05-19 23:35:07 +03:00
Pier Angelo Vendrame b04a617214 Bug 1769250: Check whether a built-in addon is really present before trying to enable/disabling it r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D146789
2022-05-19 20:15:41 +00:00
Luca Greco b928b2d0a8 Bug 1739114 - Moved privileged WebExtensions permissions in their own JSONSchema type and added a new custom privileged keyword on each privileged manifest fields. r=robwu,mixedpuppy
This patch includes only the subset of D145687 changes related to the reworked JSONSchema data, plus some minor changes to Schemas.jsm to take the new
JSONSchema type ("PrivilegedPermissions") and the new custom JSONSchema keyword (the boolean "privileged" property used to identify manifest fields
only allowed in privileged extensions).

Besides the changes to the schema data, this patch is not expected to introduce any difference in behavior and so it could also land on its own
if needed (and the rest of the changes landed separately).

Differential Revision: https://phabricator.services.mozilla.com/D146800
2022-05-19 18:20:59 +00:00
Marian-Vasile Laza e7e2d30d35 Backed out changeset 14354053c08c (bug 1768165) for causing xpcshell failures on test_snapshotselection_dedupe.js. CLOSED TREE 2022-05-19 21:47:56 +03:00
Marco Bonardo 4decd1bb94 Bug 1768165 - Central-part - Remove old methods from SnapshotSelector. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D145734
2022-05-19 17:15:38 +00:00
Hannah Peuckmann 3b96484bd0 Bug 1681495 - Switch clear cookies and site data checkbox to control sanitization prefs. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D140345
2022-05-19 14:08:16 +00:00
Cosmin Sabou 1f8ca7712f Backed out changeset 9fe7e79e2e01 (bug 1722228) for browser-chrome failures on browser_siteData2.js. 2022-05-19 10:40:35 +03:00
Hannah Peuckmann 00e1fb4574 Bug 1722228 - Fix backspace triggers clearing of site data on macOS. r=pbz,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145540
2022-05-19 06:37:41 +00:00
Daisuke Akatsuka e35a4912b3 Bug 1769585: Introduce Nimbus variables for autoFillAdaptiveHistoryMinCharsThreshold and autoFillAdaptiveHistoryMinCharsThreshold. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146757
2022-05-19 05:57:34 +00:00
Daisuke Akatsuka 47b4bdd69c Bug 1769585: Introduce a pref that the minimum char length to enable adaptive history autofill. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146654
2022-05-19 05:57:34 +00:00
Daisuke Akatsuka 7e24758b24 Bug 1769585: Change default useCountThreshold to not handle input history passed 30 days. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146653
2022-05-19 05:57:33 +00:00
Daisuke Akatsuka 2bae5d7975 Bug 1769585: Make the input history that the user input starts with to be a candidate. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146652
2022-05-19 05:57:33 +00:00
Sam Foster fc6f9c638c Bug 1766714 - Advance fxview sync setup to next state when services.sync.engine.tabs is enabled. r=Gijs
* Observe the 'services.sync.engine.tabs' pref and skip the tab sync step when it is enabled
* Hook up the primary button on that step to enable the pref
* Add tests for both paths through this setup

Differential Revision: https://phabricator.services.mozilla.com/D146003
2022-05-19 02:15:38 +00:00
Daisuke Akatsuka 60dd0a5e7f Bug 1767053: Change the logic for taking over the caret position. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146396
2022-05-19 01:41:49 +00:00
Barret Rennie a1c44d410b Bug 1759214 - Support arbitrary filetypes in RemoteImages r=Mardak
This is a rewrite of large portions of RemoteImages. Previously, RemoteImages
just relied on the presence of correctly-names files on disk for its cache. Now
we are keeping proper track of what images we've saved via a JSONFile store.
This removes the need for embedding extensions in image IDs -- images
previously referenced as, e.g., "heart.png" can now be referenced without their
extension e.g., "heart". However, for backwards compatability, image IDs with
extensions will still be accepted, but the extension will be stripped off and
ignored.

Instead, we keep track of the mimetype (as reported by Remote Settings) in our
database, as well as the last time we loaded the image (instead of relying on
the last modified time from the filesystem, which is where we were caching that
information previously).

Additionally, some cleanup has been done to prevent image loading while cleanup
is ocurring and vice versa. All interactions that would modify the database go
through `RemoteImages#withDb`, which executes a closure with the `JSONFile`
instance. This closure is a critical section and multiple closures are
prevented from executing at once.

Differential Revision: https://phabricator.services.mozilla.com/D144593
2022-05-18 14:37:27 +00:00
Mark Banner 3924c8914b Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Andrew McCreight fa8bfd1245 Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D146457
2022-05-17 20:24:19 +00:00
Andrew McCreight c8c5c819df Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Sebastian Hengst c552340e0c Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner 4acbb4ff59 Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Drew Willcoxon 89e0a5bd8e Bug 1769583 - Add the urlbar autofill prefs to telemetry environment data. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D146504
2022-05-17 15:36:28 +00:00
Emilio Cobos Álvarez b1f8ba4237 Bug 1768278 - Prevent negative margins from causing us to flip / resize / slide popups. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D145879
2022-05-17 14:37:23 +00:00
Paul Zuehlcke ced22621e7 Bug 1763660 - Add query parameter stripping pref to ETP strict. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D143513
2022-05-17 10:42:16 +00:00
James Teow 0dbd08f178 Bug 1760637 - Upgrade initPanel in instantEditBookmark.js to async r=mak
In addition to adding async/await, I also added early return statements
when we know initialization is occuring again, or if there is evidence
that it has been uninitialized.

A concrete example of this would be from the Library, where clicking on
on a folder/category on the left will run initPanel at the same time as
the highlighted folder/bookmark on the right changes (also runs initPanel).

Differential Revision: https://phabricator.services.mozilla.com/D141800
2022-05-17 00:32:48 +00:00
Scott 7a035ffc99 Bug 1769656 - Pocket newtab update fallback spoc positions. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D146515
2022-05-16 23:11:53 +00:00
Kirk Steuber 94ebd2f73c Bug 1762957 - Tests for Update Pinning r=bhearsum
Note that these tests only ensure that the pin is properly added to the update URL and to the telemetry. They do not test that the update applied will be of the correct version. This is because we are not attempting to have Firefox check if the update provided is valid given the pin, we are leaving it to the update server (Balrog) to find and serve the correct version.

Differential Revision: https://phabricator.services.mozilla.com/D143788
2022-05-16 20:55:07 +00:00
Kirk Steuber 1f183a698d Bug 1762957 - Add Firefox Enterprise Policy for application update pinning r=mkaply,bhearsum,fluent-reviewers,flod
This patch also adds the capability for Policy implementations (in Policies.jsm) to have a `validate` function. If it returns `false`, the Enterprise Policy engine will consider the policy's parameter to be invalid and the policy will not be activated. This capability is used to validate the update pin policy's parameter to make sure that it takes the expected format ("X." or "X.Y.", where X is the pinned major version and Y is the pinned minor version).

Differential Revision: https://phabricator.services.mozilla.com/D143785
2022-05-16 20:55:05 +00:00
Gavin Suntop 77a94bba72 Bug 1769596 - More STP design tweaks r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D146473
2022-05-16 20:28:14 +00:00
Marco Bonardo 41bc97f8a1 Bug 1768164 - MR2-1400 - Initial Time of Day heuristic for Snapshots. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142502
2022-05-16 18:42:25 +00:00
Amy Churchwell 6ca5193752 Bug 1768470 - If user has colorway theme enabled, the enabled colorway should be highlighted. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D145999
2022-05-16 16:39:29 +00:00
Shane Hughes 0fed91f39d Bug 1769481 - Fix PanelMultiView console warnings. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146393
2022-05-16 15:23:30 +00:00
James Teow 499c69db21 Bug 1767434 - Make updateDetailsPane always retrieve treeIndex r=mak
The problem with my previous solution for bug 1471546 was that bookmarkIndex is
not updated when a user sorts the list of bookmarks. So my solution is to always
use the treeIndex since its more reliable.

I've also added two tests: the first checks if the row the visible after clicking
a bookmark that's close to the bottom of the viewable area, and the second does the
same after re-sorting the list.

Differential Revision: https://phabricator.services.mozilla.com/D145509
2022-05-16 14:21:59 +00:00
Jonathan Watt 6e5bce1349 Bug 1769388 - Change nsIPrintSettingsService's 'newPrintSettings' attribute to a 'createNewPrintSettings' function. r=bobowen,webdriver-reviewers,whimboo
Having an attribute be a constructor is just...wrong.

Differential Revision: https://phabricator.services.mozilla.com/D146383
2022-05-16 11:50:34 +00:00
Daisuke Akatsuka 2155a6e0d3 Bug 1597791: Introduce autoFillAdaptiveHistory nimbus variable. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D145704
2022-05-13 22:46:37 +00:00
Daisuke Akatsuka 6869007716 Bug 1597791: Add telemetry for adaptive history autofill. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D144685
2022-05-13 22:46:36 +00:00
Daisuke Akatsuka 8c347e99bb Bug 1597791: Support adaptive history autofill. r=adw,mak
Differential Revision: https://phabricator.services.mozilla.com/D144393
2022-05-13 22:46:36 +00:00