Commit Graph
1242 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
Florian Quèze 38c24463e4 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02: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
Frederik Braun fda653356c Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF
2017-05-08 14:50:50 +02: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 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
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
Kit Cambridge b86489e8f2 Bug 1348699 - Add test to ensure we don't track left pane queries. r=mak,markh
MozReview-Commit-ID: LFoCpvz2rAn
2017-03-20 19:22:15 -07:00
Kit Cambridge a77082422b Bug 1350030 - Extract serverForEngine into serverForEnginesWithKeys. r=tcsc
MozReview-Commit-ID: 3D1xwv9k76m
2017-03-30 18:01:19 -07: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 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
Edouard Oger 13c2604142 Bug 1351915 - Fire onItemChanged when deduping sync bookmarks. r=kitcambridge
MozReview-Commit-ID: JHaCz42aRwx
2017-04-08 19:57:39 -04: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 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +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
Thom Chiovoloni 91cd9d8c47 Bug 595314 - Add TPS test ensuring that new changes to existing bookmarks are respected by sync r=markh
MozReview-Commit-ID: B2A60B3ufYb
2017-04-05 12:39:00 -04: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
Edouard Oger 2c68c80dcd Bug 1350665 - Disable sync repair tests on beta and release. r=kitcambridge
MozReview-Commit-ID: 6anD2FJ2aQ2
2017-03-29 15:27:25 -04:00
Thom Chiovoloni e4dc323349 Bug 1349703 - (part 3) Delete a test from TPS that was testing that we made the wrong decision during reconciliation r=kitcambridge
MozReview-Commit-ID: KVRcVNJAKfg
2017-03-23 17:18:32 -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
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
Mark Banner ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01: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
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
Thom Chiovoloni c36d4ce903 Bug 1342320 - Use PlacesUtils and not PlacesSyncUtils in sync bookmark decline/undecline test r=markh
MozReview-Commit-ID: DgbCeKgSxoE
2017-03-14 13:01:10 -04: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
Joseph Cameron ef63fe01e2 Bug 1345023 - Changed SYNC_API_VERSION to 1.5 and updated SUPPORTED_PROTOCOL_VERSIONS to reflect this change. r=markh
MozReview-Commit-ID: 98knOLicr9E
2017-03-15 22:18:43 -04:00
David Rajchenbach-Teller 61c0f91ec2 Bug 1086549 - Converting Sync tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=markh
MozReview-Commit-ID: 3dZljFrvJUA
2014-10-24 14:57:02 +02:00
Edouard Oger ad1a5a5a21 Bug 1346136 - Add more leeway in backoff testing. r=markh
MozReview-Commit-ID: 4M86B9BVbq9
2017-03-10 15:39:41 -05:00
Edouard Oger ba5b7f5172 Bug 745410 - Remove microsummary support from Sync. r=kitcambridge
MozReview-Commit-ID: BdBgxHeHndj
2017-03-10 15:03:07 -05:00
Wes Kocher 9c8fe45f78 Backed out changeset 9c8eac7852f6 (bug 745410) for build failures a=backout
MozReview-Commit-ID: JY6fS63iCwJ
2017-03-10 13:19:34 -08:00
Edouard Oger 9208b3d379 Bug 745410 - Remove microsummary support from Sync. r=kitcambridge
MozReview-Commit-ID: BdBgxHeHndj
2017-03-10 15:03:07 -05:00
Thom Chiovoloni 0cb5aa54d8 Bug 676563 - Add dateAdded field to synced bookmarks r=markh,rnewman
MozReview-Commit-ID: 5dxoTGrypqm
2017-01-17 14:45:08 -05:00
Edouard Oger bc2022950c Bug 1339861 - Mark Sync clients as stale if not in the FxA device list. r=markh
MozReview-Commit-ID: 84Tl3QTHInO
2017-02-28 16:35:01 -05:00
BharatR123 dcfc0f2f87 Bug 1345009 - remove _migratePrefs() function and related test and references in xpcshell.ini r=markh
MozReview-Commit-ID: CbXXPLNXUet
2017-03-07 14:41:46 +05:30