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

4140 Коммитов

Автор SHA1 Сообщение Дата
Edouard Oger 275e7f7f4c Bug 1516997 p1 - Move hasSyncedThisSession to SyncEngine. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D15657

--HG--
extra : moz-landing-system : lando
2019-01-03 22:28:15 +00:00
Lina Cambridge 62e25b62e5 Bug 1443021 - Remove sync ID pref migration for bookmarks and history. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D15660

--HG--
extra : moz-landing-system : lando
2019-01-03 22:30:38 +00:00
Lina Cambridge d46281dce9 Bug 1514909 - Update the last sync time from X-L-M instead of X-W-T after a batch upload. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D14806

--HG--
extra : moz-landing-system : lando
2018-12-17 23:34:04 +00:00
Lina Cambridge f7e7d64686 Bug 1498073 - Ensure each bookmark engine test cleans up. a=testonly
--HG--
extra : rebase_source : f5c753cc7bceed6388701328bb8022ef40de3c9f
2018-12-14 21:32:20 -08:00
ffxbld 9ecff1011c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-12-10 07:58:12 -08:00
Jan-Erik Rediger 5fd1cd8036 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-28 09:36:03 +00:00
Andreea Pavel ebe85db8e7 Backed out changeset ad857edac6a5 (bug 1498163) for failing devtools/client/performance/test/browser_perf-telemetry-04.js on a CLOSED TREE 2018-11-27 11:05:28 +02:00
Jan-Erik Rediger c6e72f0819 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-26 14:34:23 +00:00
Jan-Erik Rediger b07e153ff0 Bug 1498173 - Migrate external tests to changed histogram API r=chutten
Depends on D12557

Differential Revision: https://phabricator.services.mozilla.com/D12558

--HG--
extra : moz-landing-system : lando
2018-11-22 23:35:43 +00:00
Edouard Oger c6eabb1525 Bug 1507294 - Display all compatible FxA devices in send tab menu. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D11955

--HG--
extra : moz-landing-system : lando
2018-11-16 03:03:13 +00:00
irios f3a926700f Bug 1502109 - TPS do not wipe server at first phase r=markh
SyncIntegration firefox-ios tests are failing if the server is wiped in first phase

Differential Revision: https://phabricator.services.mozilla.com/D10219

--HG--
extra : moz-landing-system : lando
2018-11-06 11:23:57 +00:00
vinoth e14aa2974e Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

Differential Revision: https://phabricator.services.mozilla.com/D10850

--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
Ryan Hunt db3730d177 Bug 1501197 - Re-enable test_load_modules.js xpcshell test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10724

--HG--
extra : rebase_source : 73967e5c40bf29a7c318acd697d9755cd703bde1
extra : amend_source : a67b0e23372f0aa0a6fad7bd9a33c5c74ceeceb2
2018-11-01 14:48:53 -05:00
Jan-Erik Rediger 50555e7773 Bug 1468761 - Migrate external Telemetry tests to handle packed histograms r=chutten
Depends on D9236

Differential Revision: https://phabricator.services.mozilla.com/D9237

--HG--
extra : moz-landing-system : lando
2018-11-01 13:46:59 +00:00
Eliza Balazs 8ed82df6ff Bug 1501197 - Disable test_load_modules.js on win10 for frequent failures. r=jmaher 2018-10-30 06:55:00 +02:00
Andrew Swan bb30270b1c Bug 1438255 Part 2 Convert sync addon unit tests to use webextensions r=tcsc
This isn't strictly part of removing support for non-restartless
extensions, but it ensures that sync is testing with the types of
extensions that people are really using these days.

Differential Revision: https://phabricator.services.mozilla.com/D10111

--HG--
extra : rebase_source : 9737bdce09464d7efb6150c15b1936bac99278f9
extra : source : 05f4f82cd81ced4c8cd441e7af0a31b728287bf1
2018-10-24 13:26:06 -07:00
Andrew Swan a6e1db22bd Bug 1438255 Part 1 Remove handling in sync for non-restartless addons r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D10110

--HG--
extra : rebase_source : f0914bd1660e1e0427a67bcfc131494162a74fed
extra : source : 01b626ffa66008672129d42f3d2c28b35631c02b
2018-10-29 10:03:07 -07:00
Timothy Guan-tin Chien b2023e958b Bug 1486954 - Part I, Encrypt credit card numbers with OS key store. r=MattN
This patch morphs MasterPassword.jsm to OSKeyStore.jsm while keeping the same
API, as an adaptor between the API and the native API exposed as nsIOSKeyStore.idl.

Noted that OS Key Store has the concept of "recovery phrase" that we won't
be adopting here. The recovery phrase, together with our label, allow
the user to re-create the same key in OS key store.

Test case changes are needed because we have started asking for login in
places where we'll only do previously when "master password is enabled".
This also made some "when master password is enabled" tests invalid because
it is always considered enabled.

Some more test changes are needed simply because they previously rely on the
stable order of microtask resolutions (and the stable # of promises for a
specific operation). That has certainly changed with OSKeyStore.

The credit card form autofill is only enabled on Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D4498

--HG--
rename : browser/extensions/formautofill/MasterPassword.jsm => browser/extensions/formautofill/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/browser/browser_creditCard_fill_master_password.js => browser/extensions/formautofill/test/browser/browser_creditCard_fill_cancel_login.js
extra : rebase_source : cabbd8cdec86e5b3965cf1c8b6e635b73b6c2095
extra : histedit_source : 65e71057104465553fefa1d0b293580efed53075
2018-10-17 02:31:04 +00:00
ffxbld 2bf422025a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-10-22 08:50:03 -07:00
Margareta Eliza Balazs 53fc8ddacd Backed out 4 changesets (bug 1486954) for hangs on Linux. a=backout
Backed out changeset c895888bdddc (bug 1486954)
Backed out changeset 27e9286503e8 (bug 1486954)
Backed out changeset 87e64652386d (bug 1486954)
Backed out changeset 96a6e1ceb697 (bug 1486954)

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/extensions/formautofill/MasterPassword.jsm
rename : browser/extensions/formautofill/test/browser/browser_creditCard_fill_cancel_login.js => browser/extensions/formautofill/test/browser/browser_creditCard_fill_master_password.js
2018-10-18 12:40:21 +03:00
Timothy Guan-tin Chien f47a796bf6 Bug 1486954 - Part I, (Nighty-only feature) Encrypt credit card numbers with OS key store r=MattN
This patch morphs MasterPassword.jsm to OSKeyStore.jsm while keeping the same
API, as an adaptor between the API and the native API exposed as nsIOSKeyStore.idl.

Noted that OS Key Store has the concept of "recovery phrase" that we won't
be adopting here. The recovery phrase, together with our label, allow
the user to re-create the same key in OS key store.

Test case changes are needed because we have started asking for login in
places where we'll only do previously when "master password is enabled".
This also made some "when master password is enabled" tests invalid because
it is always considered enabled.

Some more test changes are needed simply because they previously rely on the
stable order of microtask resolutions (and the stable # of promises for a
specific operation). That has certainly changed with OSKeyStore.

The credit card form autofill is only enabled on Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D4498

--HG--
rename : browser/extensions/formautofill/MasterPassword.jsm => browser/extensions/formautofill/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/browser/browser_creditCard_fill_master_password.js => browser/extensions/formautofill/test/browser/browser_creditCard_fill_cancel_login.js
extra : moz-landing-system : lando
2018-10-17 02:31:04 +00:00
Mark Hammond c8597f4ec4 Bug 1488899 - Get TPS working. r=tcsc
This patch disables a couple of tests, removes old async support from TPS,
and puts more effort into preventing Syncs while TPS is running, and
removed an unused import.

Differential Revision: https://phabricator.services.mozilla.com/D8692

--HG--
extra : moz-landing-system : lando
2018-10-15 22:42:22 +00:00
Edouard Oger 8ca8070181 Bug 1496637 - Fetch missed FxA commands sporadically on sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D7911

--HG--
extra : moz-landing-system : lando
2018-10-11 20:08:33 +00:00
Lina Cambridge 0e827e6c4f Bug 1477671 - Replace synced livemarks with tombstones, r=mak,markh
This commit replaces incoming synced livemarks with tombstones, and
reuploads the tombstone and updated parent to the server. Existing
livemarks are left untouched to minimize data loss; we'll either
delete them during migration, or when another client runs a full sync.

Differential Revision: https://phabricator.services.mozilla.com/D7084

--HG--
extra : rebase_source : db78efc696cce13cf596d2ab0906f049a2cbe12f
2018-10-06 10:36:15 +01:00
Doug Thayer 0fd7f560d6 Bug 1426245 - Test changes r=mak
MozReview-Commit-ID: 4fhhzspxLJZ

Depends on D4606

Differential Revision: https://phabricator.services.mozilla.com/D5162

--HG--
extra : moz-landing-system : lando
2018-10-09 14:47:31 +00:00
Doug Thayer 218843ef6a Bug 1426245 - Replace OnItemAdded with bookmark-item-added r=mak
See https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit#
for further info. This essentially follows the same philosophy as
the onVisits migration.

MozReview-Commit-ID: I4bOvFH0ZQR

Depends on D4605

Differential Revision: https://phabricator.services.mozilla.com/D4606

--HG--
extra : moz-landing-system : lando
2018-10-09 14:47:27 +00:00
Siddhant085 190657496a Bug 1479445 - Return a new PageInfo object from _recordToPageInfo so that validateItemProperties can validate the object. r=lina
D5831 refactors validatePageInfo to use validateItemProperties. The record generated by _recordToPlaceInfo makes use of getters. validateItemProperties does a shallow copy of the properties and the visits properties is being left out because of the use of getters. Therefore as discussed we are returning a new object from _recordToPlaceInfo.

Differential Revision: https://phabricator.services.mozilla.com/D7467

--HG--
extra : moz-landing-system : lando
2018-10-06 19:07:12 +00:00
Luca Greco e368443b29 Bug 1486763 - Add installTelemetryInfo to addon installed from Firefox Sync. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D5552

--HG--
extra : moz-landing-system : lando
2018-10-03 06:58:23 +00:00
Lina Cambridge a21adc384b Bug 1495723 - Add support for importing extra symbols to `defineLazyGlobalGetters`. r=kmag
Some global imports, like `fetch`, expose multiple symbols. This patch
ensures we can define lazy getters for those symbols, by mapping the
extra symbol name to the main import name.

Differential Revision: https://phabricator.services.mozilla.com/D7522

--HG--
extra : moz-landing-system : lando
2018-10-02 20:10:04 +00:00
Mark Hammond bad7c8cb03 Bug 1484158 - prevent the sync merge warning from appearing after a sanitize. r=eoger
MozReview-Commit-ID: 1nasSaTkaYF

Differential Revision: https://phabricator.services.mozilla.com/D4275

--HG--
extra : moz-landing-system : lando
2018-09-18 13:50:29 +00:00
Lina Cambridge 0f9afb27a5 Bug 1492010 - Ensure Sync engines with overridden telemetry names correctly report their validation results. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D6097

--HG--
extra : moz-landing-system : lando
2018-09-18 08:04:57 +00:00
Timothy Guan-tin Chien 4b8e9c3d4a Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

Differential Revision: https://phabricator.services.mozilla.com/D4420

--HG--
extra : moz-landing-system : lando
2018-09-05 17:54:48 +00:00
Csoregi Natalia 0ee540d6b5 Backed out changeset 56aa054d4cc0 (bug 1399367) for browser/extensions/formautofill/test/unit/test_activeStatus.js failures. CLOSED TREE 2018-09-05 05:47:21 +03:00
Timothy Guan-tin Chien a3d7d3c3d1 Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

Differential Revision: https://phabricator.services.mozilla.com/D4420

--HG--
extra : moz-landing-system : lando
2018-09-05 00:32:57 +00:00
Bogdan Tara 8b38c1ae85 Merge autoland to mozilla-central. a=merge 2018-09-05 01:53:44 +03:00
ffxbld ebe4d2e4d6 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-09-04 11:15:27 -07:00
Thom Chiovoloni 793280d394 Bug 1451527 - Move sync's TPS tests into a webextension r=markh
Differential Revision: https://phabricator.services.mozilla.com/D4486

--HG--
extra : moz-landing-system : lando
2018-09-04 17:38:16 +00:00
Bogdan Tara dd95156739 Backed out changeset b886f2cf9d89 (bug 1451527) for eslint failure on extensions/tps/api.js:34 CLOSED TREE 2018-09-04 20:16:21 +03:00
Coroiu Cristina 83cdfe7284 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-08-31 19:35:06 +03:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Dave Townsend e1f6637191 Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.

Differential Revision: https://phabricator.services.mozilla.com/D4680

--HG--
extra : rebase_source : 232fa6173de8844a9c47d59926ec8e39d0640ecd
2018-08-29 16:12:55 -07:00
Thom Chiovoloni f4e5219ee3 Bug 1451527 - Move sync's TPS tests into a webextension r=markh
Differential Revision: https://phabricator.services.mozilla.com/D4486

--HG--
extra : moz-landing-system : lando
2018-09-04 16:40:22 +00:00
Margareta Eliza Balazs 2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Mark Hammond 804a02dafb Bug 1483017 - ensure Sync is initialized before disconnecting. r=tcsc
MozReview-Commit-ID: 8987f26wH16

Differential Revision: https://phabricator.services.mozilla.com/D4276

--HG--
extra : moz-landing-system : lando
2018-08-29 01:29:19 +00:00
Kris Maglione 53f96aa226 Bug 1486182: Part 2a - Add Services.catMan getter for the category manager. r=mossop
This makes it much easier to update existing consumers of
XPCOMUtils.enumerateCategoryEntries to use the category manager directly.

It also, unfortunately, requires updating existing category manager consumers
to use the Services getter in order to avoid ESLint errors.

Differential Revision: https://phabricator.services.mozilla.com/D4278

--HG--
extra : rebase_source : fb9fd9b21db80af472ff6250a2e9a35e8d538147
2018-08-24 22:13:57 -07:00
Kris Maglione 3a5c05e76f Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3733

--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Mark Hammond dd210449cd Bug 1484085 - don't log failure to obtain clients engine. r=tcsc
MozReview-Commit-ID: Aj31c1OZnFf

Differential Revision: https://phabricator.services.mozilla.com/D3657

--HG--
extra : moz-landing-system : lando
2018-08-23 02:00:27 +00:00
Kris Maglione f99ee35b82 Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.

MozReview-Commit-ID: 9PK7bYdQ0yh

--HG--
extra : rebase_source : db2516d2f00a75e233e1957649f2b62a9299b7cd
2018-08-10 13:58:18 -07:00
Edouard Oger 56fcd689fc Bug 1483020 - Re-upload our own client record if our FxA device ID changed r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3265

--HG--
extra : moz-landing-system : lando
2018-08-14 00:57:27 +00:00
irrationalagent c9df37f8cd Bug 1476393 - Allow sync ping to contain histograms r=markh,tcsc
MozReview-Commit-ID: KztXiSPUCE5

--HG--
extra : rebase_source : 0bd0236f907721fdc847e56950b84cb0c3407624
2018-08-03 09:16:08 -06:00