Ethan Glasser-Camp
244ce12521
Bug 1319742 - UUIDs should be strings, not objects, r=markh
...
`generateUUID()` returns an `nsID`, which is not exactly the same as a
UUID. `nsID`s can be converted to strings using `toString()`, but if
you use `JSON.stringify()`, they become `{}`. Object comparison in JS
performs identity comparison, which would be useless even if the UUIDs
were sensible, which they aren't. As a result, trying to sync keyrings
always failed, because it always seemed like UUIDs had changed, even
when they hadn't.
Because it never occurred to me that UUIDs wouldn't be strings, I
never even wrote a test for this. Correct this, and fix the test.
Thanks to :vasilica_mihasca and :markh for reporting and diagnosing this.
MozReview-Commit-ID: EthxkFFwRbQ
2016-11-29 14:15:55 -05:00
Mark Hammond
60f8d65ee7
Bug 1320193 - remove trailing \n from log message. r=glasserc
...
MozReview-Commit-ID: LwdPOwXmS5i
2016-11-25 09:01:05 +11:00
Ethan Glasser-Camp
789a803a51
Bug 1317841 - Update version of kinto.js to v6.0.0, r=MattN
...
This major version of kinto.js released without a FirefoxStorage
adapter. Since Gecko is the only project with a need for this adapter
as well as the only one who can use it, that file moves to this repo
as a new kinto-storage-adapter.js. This file is mostly a copy of the
most recent FirefoxStorage.js, plus some other non-exported utility
functions copied from kinto.js to make it work.
This changes the export of the kinto-offline-client.js from a
`loadKinto` function which returns the Kinto class, to the actual
Kinto class itself, with the user expected to "hook up" the
adapter. It turns out that this doesn't change much in how we actually
use Kinto, since we were always previously explicitly selecting the
Kinto adapter.
This release of kinto.js also changes some of the build options
around, which changes the minified output of kinto-offline-client.js.
There are still some outstanding stylistic complaints about
FirefoxAdapter having to do with its _init static method which is
public and the fact that sometimes FirefoxAdapter manages its own
Sqlite connection and sometimes it doesn't. These will be addressed in
a future patch.
MozReview-Commit-ID: HF0oNCEDcFs
2016-11-15 19:38:53 -05:00
Ehsan Akhgari
51a8c23eb1
Bug 1318217 - Remove AppsUtils; r=baku
2016-11-17 12:08:13 -05:00
Ethan Glasser-Camp
1a7b41e0a8
Bug 1253740 - Try to build and function even on Android, r=kmag
...
MozReview-Commit-ID: 5NGXzNhHGUN
2016-11-07 12:13:08 -05:00
Ethan Glasser-Camp
57d1272373
Bug 1253740 - Handle password resets more correctly, r=markh
...
MozReview-Commit-ID: 1mSvbsYP9fV
2016-09-30 12:12:58 -04:00
Ethan Glasser-Camp
17e5ad725d
Bug 1253740 - Define checkSyncKeyRing() which reuploads keys when passwords change, r=markh
...
MozReview-Commit-ID: B5Ptj4MGAC
2016-10-03 19:19:13 -04:00
Ethan Glasser-Camp
01011fd94d
Bug 1253740 - Hash extension ID to obfuscate installed add-ons, r=bsilverberg,kmag
...
MozReview-Commit-ID: ASBrDxIq2lF
2016-07-28 12:20:42 -04:00
Ethan Glasser-Camp
32c03ceb3d
Bug 1253740 - Introduce extensionIdToCollectionId, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5nDVtleknyN
2016-07-27 16:16:09 -04:00
Ethan Glasser-Camp
1c16eba2cc
Bug 1253740 - Add code that syncs and tests, r=bsilverberg,kmag,markh
...
MozReview-Commit-ID: 8pm2jG92hCs
2016-09-08 14:16:09 -04:00
Ethan Glasser-Camp
7f289b0749
Bug 1253740 - Introduce extension-storage engine with a sanity test, r=markh
...
Note that this "enables" the engine using a pref, even though it might
not be ready yet, so that the tests can pass.
MozReview-Commit-ID: AZ0TVERiQDU
2016-09-08 14:23:12 -04:00
Michiel de Jong
f4b60082d3
Bug 1253740 - Implement storage.sync, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5v9nYBTgekj
2016-08-11 18:16:37 -04:00
Wes Kocher
f17d46cc2b
Backed out 9 changesets (bug 1253740) for xpcshell failures a=backout
...
Backed out changeset 903890f218dd (bug 1253740)
Backed out changeset 1b13fe394b66 (bug 1253740)
Backed out changeset e1312ab53299 (bug 1253740)
Backed out changeset 5b5338a2baeb (bug 1253740)
Backed out changeset d3d89d4e2d87 (bug 1253740)
Backed out changeset 96da5e6944b8 (bug 1253740)
Backed out changeset 4fbff333994f (bug 1253740)
Backed out changeset 653788e146f2 (bug 1253740)
Backed out changeset b98fa03d8c15 (bug 1253740)
2016-11-11 18:59:24 -08:00
Ethan Glasser-Camp
fe582dfcca
Bug 1253740 - Try to build and function even on Android, r=kmag
...
MozReview-Commit-ID: 5NGXzNhHGUN
2016-11-07 12:13:08 -05:00
Ethan Glasser-Camp
377f8b2ad2
Bug 1253740 - Handle password resets more correctly, r=markh
...
MozReview-Commit-ID: 1mSvbsYP9fV
2016-09-30 12:12:58 -04:00
Ethan Glasser-Camp
9966c5b1d5
Bug 1253740 - Define checkSyncKeyRing() which reuploads keys when passwords change, r=markh
...
MozReview-Commit-ID: B5Ptj4MGAC
2016-10-03 19:19:13 -04:00
Ethan Glasser-Camp
1edddc87a9
Bug 1253740 - Hash extension ID to obfuscate installed add-ons, r=bsilverberg,kmag
...
MozReview-Commit-ID: ASBrDxIq2lF
2016-07-28 12:20:42 -04:00
Ethan Glasser-Camp
521d41e86d
Bug 1253740 - Introduce extensionIdToCollectionId, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5nDVtleknyN
2016-07-27 16:16:09 -04:00
Ethan Glasser-Camp
492b52f8a9
Bug 1253740 - Add code that syncs and tests, r=bsilverberg,kmag,markh
...
MozReview-Commit-ID: 8pm2jG92hCs
2016-09-08 14:16:09 -04:00
Ethan Glasser-Camp
a5715ea3a2
Bug 1253740 - Introduce extension-storage engine with a sanity test, r=markh
...
Note that this "enables" the engine using a pref, even though it might
not be ready yet, so that the tests can pass.
MozReview-Commit-ID: AZ0TVERiQDU
2016-09-08 14:23:12 -04:00
Michiel de Jong
a1fdb6f3ff
Bug 1253740 - Implement storage.sync, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5v9nYBTgekj
2016-08-11 18:16:37 -04:00
Sebastian Hengst
35ad3e7e0a
Backed out changeset 396333163897 (bug 1253740) for failing xpcshell /test_ext_storage.js on Android and Linux. r=backout on a CLOSED TREE
2016-11-02 16:42:22 +01:00
Sebastian Hengst
813b5b83be
Backed out changeset 39e08d903b48 (bug 1253740)
2016-11-02 16:40:07 +01:00
Sebastian Hengst
5c978afde0
Backed out changeset d7e4e2a7c0a6 (bug 1253740)
2016-11-02 16:39:59 +01:00
Sebastian Hengst
7eb50b7d66
Backed out changeset 155b13cc953d (bug 1253740)
2016-11-02 16:39:55 +01:00
Sebastian Hengst
6828123d53
Backed out changeset b8bd9da79a5e (bug 1253740)
2016-11-02 16:39:51 +01:00
Sebastian Hengst
5275330c76
Backed out changeset 1042e602ba84 (bug 1253740)
2016-11-02 16:39:46 +01:00
Sebastian Hengst
641ba742e6
Backed out changeset a73da05c87ba (bug 1253740)
2016-11-02 16:39:42 +01:00
Ethan Glasser-Camp
297207debe
Bug 1253740 - Handle password resets more correctly, r=markh
...
MozReview-Commit-ID: 1mSvbsYP9fV
2016-09-30 12:12:58 -04:00
Ethan Glasser-Camp
ca4e737184
Bug 1253740 - Define checkSyncKeyRing() which reuploads keys when passwords change, r=markh
...
MozReview-Commit-ID: B5Ptj4MGAC
2016-10-03 19:19:13 -04:00
Ethan Glasser-Camp
452b8dca85
Bug 1253740 - Hash extension ID to obfuscate installed add-ons, r=bsilverberg,kmag
...
MozReview-Commit-ID: ASBrDxIq2lF
2016-07-28 12:20:42 -04:00
Ethan Glasser-Camp
7adbcb683b
Bug 1253740 - Introduce extensionIdToCollectionId, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5nDVtleknyN
2016-07-27 16:16:09 -04:00
Ethan Glasser-Camp
26a598a5d7
Bug 1253740 - Add code that syncs and tests, r=bsilverberg,kmag,markh
...
MozReview-Commit-ID: 8pm2jG92hCs
2016-09-08 14:16:09 -04:00
Ethan Glasser-Camp
fc29a79469
Bug 1253740 - Introduce extension-storage engine with a sanity test, r=markh
...
Note that this "enables" the engine using a pref, even though it might
not be ready yet, so that the tests can pass.
MozReview-Commit-ID: AZ0TVERiQDU
2016-09-08 14:23:12 -04:00
Michiel de Jong
e5151fda43
Bug 1253740 - Implement storage.sync, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5v9nYBTgekj
2016-08-11 18:16:37 -04:00