Commit Graph
409 Commits
Author SHA1 Message Date
Mark Goodwin 0671ec68d0 Bug 1359428 - Remove preference to select OneCRL update mechanism r=keeler,leplatrem,rhelmer
MozReview-Commit-ID: A6CwZrIDmTn
2017-09-29 10:47:27 +01:00
Thom Chiovoloni 93bbe4aa91 Bug 1400467 - Ensure services/common/logmanager.js awaits it's cleanup function r=markh
MozReview-Commit-ID: thQph1UUA0
2017-09-22 11:57:13 -04:00
Kit Cambridge 8f0ba46afd Bug 1400394 - Remove TestingUtils.deepCopy. r=markh
MozReview-Commit-ID: 3ZZpA3inWSF
2017-09-15 13:46:21 -07:00
Mathieu Leplatre e32b11a713 Bug 1377533 - Remove scattered references to Kinto and Sqlite in blocklist clients r=glasserc,mgoodwin
MozReview-Commit-ID: FExozSDHgNN
2017-06-30 12:07:28 -07:00
Wes Kocher 6292e686cf Backed out changeset e6189da47385 (bug 1377533) for frequent xpcshell failures in test_ext_storage_sync_crypto.js a=backout
MozReview-Commit-ID: BLXHot0UsDU
2017-08-31 10:27:03 -07:00
Mathieu Leplatre 6c0558ffae Bug 1377533 - Remove scattered references to Kinto and Sqlite in blocklist clients r=glasserc,mgoodwin
MozReview-Commit-ID: FExozSDHgNN
2017-06-30 12:07:28 -07:00
Kris Maglione 7d8f35e2b4 Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c
2017-08-30 01:50:27 -07:00
Mark Banner 44963145a5 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk
2017-08-20 18:52:05 +01:00
Mark Hammond fc1bceb8a7 Bug 1368951 - add x-if-unmodified-since support to the sync test server. r=tcsc
MozReview-Commit-ID: FF7smwdeQ0k
2017-05-31 18:42:45 +10:00
Daniel Holbert 31126a1201 Bug 1389141: Clean up trailing newline for 2 files in "services" directory. r=markh
DONTBUILD because whitespace-only.
Notes:
 * hawkrequest.js has a redundant trailing newline; this patch removes it.
 * browser.ini is missing a trailing newline; this patch gives it one.

MozReview-Commit-ID: DYstjpDejgg
2017-08-10 15:55:50 -07:00
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Rajesh Kathiriya fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst 1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Nicolas Ouellet-Payeur 4e15124c49 Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
MozReview-Commit-ID: KquBcbNhBEN
2017-07-22 18:55:43 -07:00
Mark Hammond 8f5c7e5fd9 Bug 1382913 - throw an error when a non existing observer is removed from observers.js. r=kitcambridge
MozReview-Commit-ID: AR2IPDH0Rpw
2017-07-25 13:59:44 +10:00
Mark Banner b1b7a75372 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Edouard Oger 71647a4642 Bug 1210296 part 1 - Remove most event loop spinning from Sync. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 9RpgSgXykWt
2017-06-05 18:50:07 -04:00
Mathieu Leplatre 732f853c43 Bug 1376874 - Close blocklist Sqlite connection on shutdown r=mak
MozReview-Commit-ID: LUV9b8U8jGY
2017-07-04 12:36:08 +02:00
Mathieu Leplatre bfd6373219 Bug 1376618 - Load initial blocklist data as synced r=mgoodwin
MozReview-Commit-ID: FZ5XDv4FCEo
2017-06-29 15:44:00 -07:00
Florian Quèze a49a32e257 Bug 1374282 - script generated patch to remove useless bind calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze d0406d270c Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Andrew McCreight 9111eed93f Bug 1375133 - Remove unnecessary imports of btoa and atob in services/ code. r=markh
There are a few places in services/ tests that import btoa and atob,
but this is not necessary, because those are both defined on the
XPCShell global (by glob_functions in XPCShellImpl.cpp). It sounds
like it didn't work at some point on B2G (see bug 937114) but that
isn't relevant any more. I want to fix this because the way these
properties are imported will break with shared JSM globals.

MozReview-Commit-ID: HoxqIS98p7B
2017-06-21 09:56:57 -07:00
Nathan Froyd 8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Marco Bonardo 01c9699781 Bug 1371945 - Avoid a possible thread-safety problem with unfinalized statements. r=asuth
Avoids a thread-safety race condition on shutdown where we could try to finalize a statement twice.
Allows the async thread to be referenced until ShutdownAsyncThread, so async finalizers can make use of it.
Removes the no more useful mAsyncExecutionThreadIsAlive.
Nullifies the sqlite3_mutex pointer when the connection is closed, since it would be a dangling pointer.
Use a ScopeExit to ensure the connection and the mutex pointers are always nullified on failure.
Makes asyncClose bailout early if a Close method was already invoked before.
Makes AsyncInitDatabase not use AsyncClose to just shutdown the async thread.
Fixes various unfinalized statements in consumers code.
Makes mConnectionClosed better follow mDBConn status.
Replaces some mutex locking isClosed() calls with lockless isConnectionReadyOnThisThread.

MozReview-Commit-ID: 6sftFehsQTt
2017-06-16 17:43:23 +02:00
Masatoshi Kimura 5754eb0ecf Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
MozReview-Commit-ID: GliLHLsUWjt
2017-06-17 19:30:09 +09:00
Mathieu Leplatre 889c29d556 Bug 1254099 - Add Telemetry to settings update r=bsmedberg,glasserc,mgoodwin,rhelmer
MozReview-Commit-ID: 8vAuTImx7IH
2017-03-22 11:27:17 +01:00
Ethan Glasser-Camp 5861fc6c3f Bug 1364135: Clean up detection/handling of deleted keyrings, r=kmag,MattN
MozReview-Commit-ID: CoOwUazDRSL
2017-05-11 13:15:20 -04:00
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
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
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
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
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
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
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
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