Commit Graph
4581 Commits
Author SHA1 Message Date
Mathieu Leplatre 1618e8dfd3 Bug 1357116 - Load the blocklist updater module lazily r=florian,mgoodwin
Importing the blocklist-updater module on each notification in nsBlocklistService
could cause us to periodically jank the browser UI.

This patch now lazy loads as many dependencies as possible.


MozReview-Commit-ID: HBGjSJi5PwE
2017-04-20 10:35:04 +02:00
Wes Kocher 672eaeacb7 Merge inbound to central, a=merge
MozReview-Commit-ID: AFMOzsYBEjc
2017-05-15 16:22:21 -07:00
jomer14 e6fdf348de Bug 1362510 - Remove errors.properties and references. r=eoger
MozReview-Commit-ID: 27kIRQdEHsE
2017-05-15 12:03:55 -04:00
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
Edouard Oger 9a8fd0bf29 Bug 1364571 - Delay Weave startup. r=kitcambridge
MozReview-Commit-ID: 4bm1LXLD7lV
2017-05-12 17:01:25 -04:00
Honza Bambas f3b5a77a73 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher 7b49a483cc Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas b05b600614 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Florian Quèze 38c24463e4 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Thom Chiovoloni 6357a540c2 Bug 1357814 - Changes to sync's TPS tests to allow running from automation r=markh
1. Ensure we wait for browser-delayed-startup-finished
2. Parse the profile we're cleaning up from the cleanup phase name instead of
   using the selectedProfile.
3. Ensure that bookmark repair doesn't run randomly (this isn't necessary, but
   the repair code can make the actual reason for failure much more difficult to
   debug, and could probably cause a test to pass when it should not).
4. Add multiprocessCompatible flags so that TPS can still start in nightly (and
   because it is).

MozReview-Commit-ID: 98UvRoFOdzv
2017-05-05 14:54:03 -04: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
Ethan Glasser-Camp d110c43b3e Bug 1363430: Update kinto-http.js to 4.3.4, r=MattN
MozReview-Commit-ID: BenayrfXlKC
2017-05-09 12:27:11 -04:00
Thom Chiovoloni fe26979a12 Bug 1362099 - Make RESTRequest handle GET's where the response is > 8192 bytes and we know the charset r=markh
MozReview-Commit-ID: 6g8hCvr7ZbJ
2017-05-05 16:29:01 -04: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
Kit Cambridge d18b3e4055 Bug 1361171 - Remove CloudSync. r=markh
MozReview-Commit-ID: CjBsEZa6oIP
2017-05-01 14:43:00 -07:00
Carsten "Tomcat" Book 31f9a8236d merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Honza Bambas e8227e774f Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01: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
Sebastian Hengst 488d8117f2 Backed out changeset 83fe6517d5be (bug 1357116) for eslint failures in blocklist-clients.js. r=backout 2017-05-02 19:59:32 +02:00
Mathieu Leplatre e4291c24ad Bug 1357116 - Load the blocklist updater module lazily r=florian,mgoodwin
MozReview-Commit-ID: IjdpY9JZQPL
2017-04-27 14:45:57 +02: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
Mathieu Leplatre 94031ca82c Bug 1347728 - Fix JSON dump of blocklists r=kjozwiak,mgoodwin
MozReview-Commit-ID: rwX5Nn9d6b
2017-03-22 15:46:55 +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
Thom Chiovoloni 3a6de0ca77 Bug 1361818 - Make sure TPS is aware sync's collection.get method is asynchronous now r=markh
Ideally we'd convert this to promises, but this function is already full of
promiseSpinningly's and removing them all is too much work for this bug.

MozReview-Commit-ID: 144JFRwejTb
2017-05-03 15:12:30 -04:00
Alexandre Poirot 208511b0d3 Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK
2017-04-27 17:58:09 +02: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
Edouard Oger a2d86f03a6 Bug 1356112 - Set identity.fxaccounts.settings.devices.uri when using the FxA well-known configuration. r=tcsc
MozReview-Commit-ID: IJaMuIorXHg
2017-04-20 13:57:23 -04: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
Sebastian Hengst 92786560f9 Backed out changeset 816a2cc1254a (bug 1347728) for failing xpcshell's test_blocklist_certificates.js on Windows r=backout 2017-04-20 19:11:04 +02:00
Mathieu Leplatre 53a3bd7a4f Bug 1347728 - Fix JSON dump of blocklists r=kjozwiak,mgoodwin
MozReview-Commit-ID: rwX5Nn9d6b
2017-03-22 15:46:55 +01: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
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 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