Commit Graph
2404 Commits
Author SHA1 Message Date
tiago 680d224ed6 Bug 1355663 - Don't de-duplicate tabs from multiple devices. r=eoger
MozReview-Commit-ID: AciCTECtXJc
2017-05-12 20:54:54 -03:00
Kit Cambridge 8c4cab8374 Bug 1335891 - Ensure and test that Sync changes don't bump the score. r=markh
MozReview-Commit-ID: 4dP5oZS3pm
2017-05-09 13:04:50 -07:00
Kit Cambridge 25d988e817 Bug 1335891 - Trigger another sync if tracked items have changed during the last sync. r=markh
MozReview-Commit-ID: 7EcIX7QrsN4
2017-05-10 19:21:16 -07:00
Edouard Oger bf97626bd8 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv
2017-04-18 14:15:43 -04:00
Edouard Oger 93c19ffc8b Bug 1361572 - Remove Task.jsm/Promise.jsm from services/. r=kitcambridge
MozReview-Commit-ID: BBIkpIkWIYc
2017-05-02 19:29:33 -04:00
Sebastian Hengst 6471972ae8 Backed out changeset 0a0138825fb5 (bug 1353571) 2017-05-03 21:56:44 +02:00
Edouard Oger c9a99ae676 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv
2017-04-18 14:15:43 -04:00
Edouard Oger 75b4ce6b59 Bug 1358648 part 3 - Remove Async, Services and XPCOMUtils from util.js. r=markh
MozReview-Commit-ID: 8na204K9cXp
2017-05-02 16:57:37 -04:00
Edouard Oger 6fd86d6b51 Bug 1358648 part 2 - Remove util.js Svc.{DefaultPrefs,Session,Idle, FormHistory} and Str. r=markh
MozReview-Commit-ID: Jc1th8Snvhv
2017-05-02 18:30:23 -04:00
Edouard Oger 9acffcb130 Bug 1358648 part 1 - Clean-up some Weave imports. r=markh
MozReview-Commit-ID: 2NK4Mew65UT
2017-05-02 18:27:49 -04:00
Dan Banner 45d18f9c23 Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO
2017-04-27 17:24:18 +01:00
Carsten "Tomcat" Book ecacd40794 Backed out changeset e6177d883f37 (bug 1359540) for eslint failures 2017-05-02 09:25:45 +02:00
Dan Banner f14e5856b4 Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO
2017-04-27 17:24:18 +01:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Mark Banner e9208bd351 Bug 1359140 - Fix various ESLint issues in services/ (mostly automatic). r=markh
This fixes various errors raised in services for the rules: key-spacing, quotes, no-else-return, no-extra-semi, comma-spacing, object-shorthand.

MozReview-Commit-ID: IClwG5rfXfW
2017-04-24 18:52:57 +01:00
Mark Hammond 36b93a49f7 Bug 1355677 - Make all Sync network requests promise based. r=kitcambridge,rnewman,tcsc
MozReview-Commit-ID: JSwAS4Xd1uy
2017-04-11 23:40:53 +10:00
Thom Chiovoloni d01aba9331 Bug 1350135 - Fix failing TPS test_history_collision.js test r=markh
There were three issues here: The first is that the TPS's history module didn't
wait for PlacesUtils.history.remove's promise to resolve.

The second is that the SYNC_WIPE_REMOTE in the previous client would cause a
write to the clients collection, which would cause the next client to get a
"sync:collection_changed" push. This caused a sync of *only* the clients
collection upon reciept, which would prevent TPS from explicitly syncing all
engines.

The third is that TPS wasn't correctly handling the cases where logIn would
trigger a sync, which would cause a failure during the first sync of a session.
This would cause failures on other TPS tests as well.

MozReview-Commit-ID: LpqZ7Kt9fyy
2017-04-19 14:38:00 -04:00
Thom Chiovoloni f49f25daac Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events. r=bsmedberg,markh
MozReview-Commit-ID: DG43B9zEHaO
2017-04-04 13:51:16 -04:00
Marco Bonardo 9b56138641 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj
2017-04-14 20:34:27 +02:00
Carsten "Tomcat" Book b64dbe3b57 Backed out changeset eb94759f0fcf (bug 1356567) for test failures in own test 2017-04-18 12:58:09 +02:00
Marco Bonardo f10bff9f87 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj
2017-04-14 20:34:27 +02:00
tiago 23ec6d160f Bug 986501 - Avoid unnecessary compartments on Sync startup r=markh
MozReview-Commit-ID: 8Rr3JD4dfVy
2017-04-13 20:36:08 -03:00
Florian Queze ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze 451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze 35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Thom Chiovoloni 4343d9573c Bug 1345744 - Ensure an error log is written when sync (newly) fails to apply records. r=markh
MozReview-Commit-ID: 586faUBtX6n
2017-04-04 14:18:09 -04:00
hrishikesh 202c968d7f Bug 1351906 - Moved log.trace before return statement to fix unreachable code issue in history.js. r=Standard8 2017-04-05 11:03:01 +05:30
Thom Chiovoloni 3965aae6fc Bug 1349703 - (part 1) Fix issue where sync would fail misreconcile special folders in fresh syncs r=kitcambridge
MozReview-Commit-ID: Izy9JgMYpom
2017-03-23 16:32:40 -04:00
Edouard Oger 991e24e4a5 Bug 1339340 - Repair items the bookmark validator reports as missing on the client or server. r=tcsc
MozReview-Commit-ID: 9Wxq2wfUnkb
2017-03-24 11:12:48 -04:00
Sebastian Hengst fc10cf77dc Backed out changeset 16d562074791 (bug 1339340) for failing xpcshell test services/sync/tests/unit/test_doctor.js. r=backout 2017-03-24 00:52:29 +01:00
Edouard Oger d6234234f4 Bug 1339340 - Repair items the bookmark validator reports as missing on the client or server. r=tcsc
MozReview-Commit-ID: 9Wxq2wfUnkb
2017-03-14 18:02:20 -04:00
Kit Cambridge 6dd5b597b4 Bug 1349709 - Ensure PasswordEngine conforms to the new pullAllChanges interface. r=tcsc
This was a regression from bug 1317223. This commit also adds a
password engine sync test to catch future regressions.

MozReview-Commit-ID: 9dq8K39jLwB
2017-03-22 19:21:08 -07:00
Edouard Oger bf15e24e33 Bug 692700 part 2 - Set X-If-Unmodified-Since when uploading crypto/keys. r=markh
MozReview-Commit-ID: 9qrr8vuvy1I
2017-03-14 15:56:08 -04:00
Edouard Oger e1e399abc2 Bug 692700 part 1 - Set X-If-Unmodified-Since when uploading meta/global. r=markh
MozReview-Commit-ID: IoiThiDlvCj
2017-03-14 14:42:24 -04:00
Kit Cambridge 10ce73bb90 Bug 1343093 - Add integration test for bookmark repair. r=markh
This test replaces the clients engine to simulate two different
clients, and uses `SOURCE_SYNC` to bypass change tracking.

MozReview-Commit-ID: IF3b3WZtain
2017-03-21 11:54:06 -07:00
Thom Chiovoloni 8b4f27681d Bug 1345754 - Skip sync bookmark repair and validation if we have pending changes r=markh
MozReview-Commit-ID: ClQRXGZGV9p
2017-03-14 14:26:20 -04:00
Carsten "Tomcat" Book a95ca96818 merge mozilla-inbound to mozilla-central a=merge 2017-03-21 12:04:43 +01:00
Florian Queze 95a81a3d57 Bug 1348570 - Make chrome://weave/locale/ point to the correct folder, r=markh. 2017-03-21 01:31:21 +01:00
Edouard Oger d07a58128d Bug 1343735 - Respect max_record_payload_bytes limit. r=markh
MozReview-Commit-ID: 1aDwl1cq2Hh
2017-03-15 17:12:17 -04:00
Mark Hammond fea32a4093 Bug 1348743 - avoid running a bookmark validation on every sync. r=tcsc
MozReview-Commit-ID: 49sWR56kfrj
2017-03-20 19:13:42 +11:00
Wes Kocher 8dbc9be6e4 Backed out changeset a2ec162fa051 (bug 1348743) for eslint failures a=backout
MozReview-Commit-ID: 2rfgqYueacf
2017-03-20 16:32:06 -07:00
Mark Hammond 0838569067 Bug 1348743 - avoid running a bookmark validation on every sync. r=tcsc
MozReview-Commit-ID: 49sWR56kfrj
2017-03-20 19:13:42 +11:00
David Rajchenbach-Teller 31c1c81073 Bug 1087255 - Convert Sync JS clients of RemovePage(s) to History.remove;r=rnewman 2014-10-31 12:36:19 +01:00
Mark Hammond 1619e802bd Bug 1347373 - better handling of requests that have only non-existing items and of errors. r=kitcambridge
MozReview-Commit-ID: 7kcky3wJb4j
2017-03-16 20:53:06 +11:00