Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Mathieu Leplatre
4d59ffbad4
Bug 1450985 - Enable signature verification for addons/gfx/plugins blocklists r=mgoodwin
...
MozReview-Commit-ID: AG0hrMw4mku
--HG--
extra : rebase_source : 0976de30bc78df03acda21ad51d559c4489f321e
2018-04-12 16:58:24 +02:00
Mathieu Leplatre
7c05540121
Bug 1377539 - Switch blocklists to IndexedDB r=Gijs,glasserc
...
MozReview-Commit-ID: 4E1iz2DqjUy
--HG--
extra : rebase_source : a569f27bf8787f8f82504b8ae3a231c1db75d65c
2018-03-22 11:39:15 +01:00
Mark Goodwin
0a74d744fa
Bug 1448044 - kinto-storage-adapter.js chokes on large updates r=glasserc
...
MozReview-Commit-ID: ncHwROrfHV
--HG--
extra : rebase_source : 5289f5664c9278ad4b9239a7830442eda8bd3551
2018-04-12 15:56:52 +01:00
Mathieu Leplatre
2dc7664a19
Bug 1450998 - Improve API and docs for Remote Settings r=mgoodwin
...
MozReview-Commit-ID: EszfBy3xNP9
--HG--
extra : rebase_source : c7027e100d1c47ebb4e3b81e0c74fce30240cb42
2018-03-29 14:38:16 -07:00
Mathieu Leplatre
76bc359e79
Bug 1397230 - Generalize blocklist clients to remote settings clients r=mgoodwin
...
MozReview-Commit-ID: 9VAsTFCuZUf
--HG--
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_remote_settings_poll.js
extra : rebase_source : 9da338f18f3860e124b315a8be3340997343e2f3
2018-03-13 16:23:57 +01:00
Ethan Glasser-Camp
9a286a18ce
Bug 1447400: Update kinto.js to 11.1.0 r=MattN
...
MozReview-Commit-ID: 6ICrfSjtECq
--HG--
extra : source : e4d32beb89b285c962da4e1373803b843efffbec
2018-03-20 14:29:50 -04:00
Dorel Luca
fa57e78e5c
Backed out changeset e4d32beb89b2 (bug 1447400) for Mochitest failure on dom/events/test/test_all_synthetic_events.html
2018-03-22 00:30:33 +02:00
Ethan Glasser-Camp
6f9a538fb4
Bug 1447400: Update kinto.js to 11.1.0 r=MattN
...
MozReview-Commit-ID: 6ICrfSjtECq
--HG--
extra : rebase_source : c1d1761154db6dc2182d650f6b38951e73790d44
2018-03-20 14:29:50 -04:00
Thom Chiovoloni
cb131c0c3a
Bug 1363581 - (part 2) Make RESTRequest's public API use promises and not callbacks r=markh
...
This also took the opportunity to clean up and modernize code it touched (mostly tests,
which needed changes but not quite as many changes as I ended up making).
MozReview-Commit-ID: ApPUTHXFprM
--HG--
extra : rebase_source : b6f44e4cbd62e2e41fd12d70e12362a4afcb4cb2
2018-03-14 20:34:50 -07:00
Thom Chiovoloni
fb54bddb43
Bug 1363581 - (part 1) Buffer RESTRequest response in memory before decoding to avoid corruption r=markh
...
MozReview-Commit-ID: BS0h4iIr91V
--HG--
extra : rebase_source : 9d98f33acd8818d4492829a21eea1f31e758d0ba
2018-03-13 15:13:56 -07:00
Brian Grinstead
8c4db27eb0
Bug 1445772
- Don't worry about binding console methods to the console object r=jryans
...
This isn't needed since Console is an interface and not an object
MozReview-Commit-ID: ZoIo2TS9QL
--HG--
extra : rebase_source : 7ccb86dd4290e5d7ac829cab6dcf2f9548d89f11
2018-03-14 14:33:47 -07:00
Thom Chiovoloni
ff385c8a15
Bug 1443268 - Remove test_places_guid_downgrade.js from sync r=kitcambridge
...
MozReview-Commit-ID: 2P8EnTfugmz
--HG--
extra : rebase_source : f0f9cc89b6005bcb010e7ddf8d6687e647f47891
2018-03-06 12:30:44 -08:00
Sebastian Hengst
a4aace7084
Backed out changeset ba1e431204ab (bug 1443268) for failing xpcshell tests in services/sync/. CLOSED TREE
2018-03-07 20:20:02 +02:00
Thom Chiovoloni
f5186c51a0
Bug 1443268 - Remove test_places_guid_downgrade.js from sync r=kitcambridge
...
MozReview-Commit-ID: 2P8EnTfugmz
--HG--
extra : rebase_source : 58f2760afa9cd1d23df4bcc1c8f40cee67bd66fd
2018-03-06 12:30:44 -08:00
Mark Hammond
00c0357e61
Bug 1442443 - remove all event loop spinning from Async.js. r=eoger
...
MozReview-Commit-ID: 9Sc9kfx47yU
--HG--
extra : rebase_source : e663727b1ed00ae931ef051a99268a04a756dfb8
2018-03-02 10:20:18 +11:00
Florian Quèze
c714053d73
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Thom Chiovoloni
e4c2bf7278
Bug 1440334
- (part 1) Add an iterator wrapper to services-common/async.js that uses a jankYielder for you r=kitcambridge
...
MozReview-Commit-ID: 3a8FeBqzmGC
--HG--
extra : rebase_source : 0aa699bd5cc5e84d10344c8d8db83b6551e2d0a4
2018-02-22 13:19:16 -05:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Ethan Glasser-Camp
f2052cf9c9
Bug 1438973: Update version of kinto.js to 11.0.0 r=MattN
...
MozReview-Commit-ID: 2Byd1HcbhHW
--HG--
extra : rebase_source : abc324efc5f52f1d198da2a645ddbc750a56294c
2018-02-16 15:08:18 -05:00
Kartikey
9d57bd2ba2
Bug 1011480 - Remove CommonUtils.laterTickResolvingPromise() and replace it by Async.promiseYield() and Async.jankYielder(). r=eoger
...
MozReview-Commit-ID: 3YSGVKgqdUq
2018-02-20 10:31:58 +08:00
Jared Wein
9788800512
Bug 1436575 - Manually fix the errors from no-compare-against-boolean-literal that the autofix couldn't change. r=standard8
...
MozReview-Commit-ID: 6NtfU76sPKv
--HG--
extra : rebase_source : 143891b98995658a5683e01631eba9f6a2bb7b6f
2018-02-08 13:35:53 -05:00
Ethan Glasser-Camp
fd05d53fe9
Bug 1388830 - upgrade kinto-http.js to 4.5.3. r=MattN
...
This introduces an `UnparseableResponseError`, which exposes the text
of the actual non-JSON response. It's also catcheable by client
code (i.e. ExtensionStorageSync.jsm) if we believe this error is
common enough to be silenced.
MozReview-Commit-ID: H3ADFBFJRKA
--HG--
extra : rebase_source : 275b5084899646520d28b7c33e4bf5efdd11b996
2018-02-14 12:48:09 -05:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Edouard Oger
825e2fa2b1
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Edouard Oger
01342b993b
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : adb07d381aca118b9b49971f87e68a239dbcfb70
2017-12-07 14:45:15 -05:00
Edouard Oger
81b643a035
Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
...
MozReview-Commit-ID: GGuSkA5DZUQ
--HG--
extra : rebase_source : 54446d6d3758c17e2ce7423a4684f8cd35d052c5
2018-01-04 18:06:57 -05:00
Noemi Erli
9df7ea51ac
Backed out 8 changesets (bug 633062) as requested by eoger on a CLOSED TREE
...
Backed out changeset 590656f7b5c5 (bug 633062)
Backed out changeset 0888aa122056 (bug 633062)
Backed out changeset 0780cf391c52 (bug 633062)
Backed out changeset 9798cbd03027 (bug 633062)
Backed out changeset 4b31c73a585f (bug 633062)
Backed out changeset 0a8866062136 (bug 633062)
Backed out changeset 20ff83289564 (bug 633062)
Backed out changeset 5e52125316e1 (bug 633062)
2018-01-31 22:09:30 +02:00
Edouard Oger
7f72c53748
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Edouard Oger
ea2b2a9409
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : adb07d381aca118b9b49971f87e68a239dbcfb70
2017-12-07 14:45:15 -05:00
Edouard Oger
b8b1fbbf52
Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
...
MozReview-Commit-ID: GGuSkA5DZUQ
--HG--
extra : rebase_source : 54446d6d3758c17e2ce7423a4684f8cd35d052c5
2018-01-04 18:06:57 -05:00
Andreea Pavel
2ebbd41c08
Backed out 8 changesets (bug 633062) for failing xpcshell on Windows at services/sync/tests/unit/test_hmac_error.js on a CLOSED TREE
...
Backed out changeset b4e9cd0d61ab (bug 633062)
Backed out changeset ee294cebe485 (bug 633062)
Backed out changeset 3d1ad6b3bbee (bug 633062)
Backed out changeset c053f43da9e8 (bug 633062)
Backed out changeset 549e1282ae8e (bug 633062)
Backed out changeset 35058a83dab0 (bug 633062)
Backed out changeset 2e9dc98eabf0 (bug 633062)
Backed out changeset dbbacd08392c (bug 633062)
2018-01-31 10:07:34 +02:00
Edouard Oger
b8cb936b01
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
Edouard Oger
ffdd8c898f
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : 0c3ee2b37448467fdd7fec04dbdf39255608901b
2017-12-07 14:45:15 -05:00
Edouard Oger
a99869ed33
Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
...
MozReview-Commit-ID: GGuSkA5DZUQ
--HG--
extra : rebase_source : 496d90945ec2e6d41f5751d26cf87a14458961bb
2018-01-04 18:06:57 -05:00
Dorel Luca
9f8b519dae
Backed out 8 changesets (bug 633062) for xpcshell failures on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE
...
Backed out changeset d60ca66f2b62 (bug 633062)
Backed out changeset d80494d5bc36 (bug 633062)
Backed out changeset 33f832b59e86 (bug 633062)
Backed out changeset 968db19986aa (bug 633062)
Backed out changeset a55a3647ea49 (bug 633062)
Backed out changeset bb1030bdab48 (bug 633062)
Backed out changeset 9c4cd2a6965c (bug 633062)
Backed out changeset 669c76bd2618 (bug 633062)
--HG--
extra : amend_source : cf95d15507de46de393cdef797a5808c4e0407ff
2018-01-31 07:28:06 +02:00
Edouard Oger
3e4633d6e3
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
Edouard Oger
546a23d489
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : 0c3ee2b37448467fdd7fec04dbdf39255608901b
2017-12-07 14:45:15 -05:00
Edouard Oger
139cd14eb0
Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
...
MozReview-Commit-ID: GGuSkA5DZUQ
--HG--
extra : rebase_source : 496d90945ec2e6d41f5751d26cf87a14458961bb
2018-01-04 18:06:57 -05:00
Kris Maglione
918ed6c474
Bug 1431533
: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533
) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533
)
Backed out changeset 34c999fa006b (bug 1431533
)
Backed out changeset e2674287e57f (bug 1431533
)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533
: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533
) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533
)
Backed out changeset 12fc4dee861c (bug 1431533
)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533
: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Edouard Oger
b5962f73eb
Bug 1429245 - Optimize CommonUtils.bytesAsHex. r=tcsc
...
MozReview-Commit-ID: 2f3o6OwUwn4
--HG--
extra : rebase_source : c18f606ab7963eeee6889c351cf58e61d58fb930
2018-01-10 16:11:22 -05:00
Florian Quèze
0f55cd45be
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Mark Hammond
57f9284cef
Bug 1425987 - part 2: Cleanup Sync logging by rationalizing preference management. r=tcsc
...
MozReview-Commit-ID: CQ1vhahnQbc
--HG--
extra : rebase_source : 5456b3afcf2d2d3536b9b546dda67199af4e1bdd
2017-12-19 09:48:31 +11:00
Edouard Oger
54088f8c9e
Bug 1422115 - Remove storageserver.js from services/. r=markh,tcsc
...
MozReview-Commit-ID: 4UGCq6SolY1
--HG--
extra : rebase_source : 49e8a5d072d1cb15d0942e7fbc39c7a2c8c08c6f
2017-11-30 15:11:19 -05:00