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

5335 Коммитов

Автор SHA1 Сообщение Дата
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
Andrew McCreight 2df0136940 Bug 1498404 - Fix some errors in manifests r=froydnj
In FxAccountsComponents.manifest, the previous line registers the
component CID, but only for the main process. This means we hit an
error while parsing the manifest in the child process, because the CID
is not recognized. The fix is simply to not try to use the CID to
register the contract in the child process.

As for the rest of the changes, since bug 1438688, XPT information is
compiled into the Firefox binary, so the interfaces manifest entry is
no longer needed. This patch removes instances of this line from
manifest files. This makes some manifest files empty, so the patch
also removes the now-empty files.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:26:23 +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 e6c1d59703 Bug 1496638 - Instrument fetchMissedRemoteCommands with telemetry r=markh
Differential Revision: https://phabricator.services.mozilla.com/D7912

--HG--
extra : moz-landing-system : lando
2018-10-15 05:42:02 +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
Mathieu Leplatre cb1dac2232 Bug 1493709 - Do not report error of dump load in RemoteSettings.get() r=glasserc
If the collection has no local dump, it should not report any error while trying to load the dump.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 13:53:54 +00:00
ffxbld ba5c8367b3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D8370

--HG--
extra : moz-landing-system : lando
2018-10-11 12:54:54 +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
Mathieu Leplatre db4631f13b Bug 1497159 - Use Megaphone payload for cache busting r=glasserc
Pass the expected timestamp along in querystring

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

--HG--
extra : moz-landing-system : lando
2018-10-09 14:05:01 +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
Nicholas Nethercote 8478f8d66e Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika
Because they have almost identical semantics.

--HG--
extra : rebase_source : ea9074bcac2a1d190b88a5d1afc15997593659b7
2018-09-06 18:02:43 +10:00
ffxbld 1263cc5298 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6386

--HG--
extra : moz-landing-system : lando
2018-09-20 12:47:19 +00:00
Jonathan Kingston 2ce3b8373f Bug 1485305 - misc Ensure loadURI always passes a triggeringPrincipal() r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4560

--HG--
extra : source : 3e184da8273decac0f3e7d88be89125a2a027588
extra : intermediate-source : ddea69395fbca528529f4491bc8ea7c701ff45b4
2018-08-29 15:48:52 +01:00
Mathieu Leplatre c8ed5791e4 Bug 1483948 - Upgrade vendored kinto.js to v12.0.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3610

--HG--
extra : moz-landing-system : lando
2018-09-19 10:16:41 +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
Mathieu Leplatre b9a29ce72d Bug 1475487 - Restartless preference change r=Gijs,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D2951

--HG--
extra : moz-landing-system : lando
2018-09-18 06:46:06 +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
ffxbld 1bd8340b0a No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D5758

--HG--
extra : moz-landing-system : lando
2018-09-13 12:14:37 +00:00
Nan Jiang 6db1702790 Fix Bug 1490762 - Add local dump for onboarding bucket on Remote Settings r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D5696

--HG--
extra : moz-landing-system : lando
2018-09-12 19:15:30 +00:00
Sebastian Hengst d34c7d9a48 Bug 1490322 - Use new "Toolkit :: Blocklist Implementation" bugzilla component as default for blocklist related files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5570

--HG--
extra : moz-landing-system : lando
2018-09-11 19:25:55 +00:00
Dipen Patel aeed887ff8 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-11 00:07:30 +00:00
Csoregi Natalia 0400fe7b57 Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Dipen Patel 0679e09a9a Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:50:17 +00:00
ffxbld d5e21d1dc3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D5141

--HG--
extra : moz-landing-system : lando
2018-09-06 12:40:37 +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
Ryan Kelly 64ae80b0aa Bug 1487601 - Clean up some logging in FxAccountsCommands. r=markh
This patch fixes an accidental switch-statement fall-through that was
causing `_handleCommands()` to always log "Unknown command", and fixes
an inconsistency where one log line was being sent to the console
rather than the sync log file.

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

--HG--
extra : moz-landing-system : lando
2018-09-03 22:51:13 +00:00
ffxbld 9e951cf226 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4852

--HG--
extra : moz-landing-system : lando
2018-09-03 13:16:32 +00:00
Henri Sivonen 791116f2af Bug 1484988 - Avoid writing past the logical length of a string in Toolkit. r=froydnj
Also remove a useless call to SetCapacity().

MozReview-Commit-ID: LarsWKI3qwz

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

--HG--
extra : moz-landing-system : lando
2018-09-03 06:51:33 +00: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
Mathieu Leplatre ce3c80f96d Bug 1481348 - Prevent intermittent failures with fake RemoteSettings server r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3537

--HG--
extra : moz-landing-system : lando
2018-09-04 09:26:11 +00:00
ffxbld 055f6b25a3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4660

--HG--
extra : moz-landing-system : lando
2018-08-30 12:53:09 +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
ffxbld 73e4fdc8f6 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4325

--HG--
extra : moz-landing-system : lando
2018-08-27 12:53:01 +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
ffxbld 1eb4a76ba4 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D4071

--HG--
extra : moz-landing-system : lando
2018-08-23 13:31:44 +00:00