Граф коммитов

485 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Leplatre e2fc12b175 Bug 1464006 - Move Normandy FilterExpressions to toolkit/components/utils r=mythmon
MozReview-Commit-ID: 98SsHd2jZi8

--HG--
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => toolkit/components/utils/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => toolkit/components/utils/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => toolkit/components/utils/Sampling.jsm
rename : toolkit/components/normandy/vendor/mozjexl.js => toolkit/components/utils/mozjexl.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => toolkit/components/utils/test/unit/test_FilterExpressions.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => toolkit/components/utils/test/unit/test_Sampling.js
extra : rebase_source : 6d767860b0ec7fc328d7589aba5f31b0337bbe5b
2018-05-24 10:48:00 +02:00
Carol Ng ac0db61cc2 Bug 694735 - Change default Accept header to json in Sync API requests r=eoger
--HG--
extra : rebase_source : 5ac59d2cfcae572a1c971bd2164f03f567c5f39a
2018-05-24 15:04:11 -04:00
Gijs Kruitbosch 286e8f602d Bug 1463782 - allow toolkit apps in kinto blocklist, r=leplatrem
MozReview-Commit-ID: G1uqNw1Njni

--HG--
extra : rebase_source : 31637d596df1a9e85d0f21cfaced08508139037b
2018-05-23 18:01:36 +01:00
Mark Banner 127c1ce9e9 Bug 1463499 - Enable ESLint rule require-expected-throws-or-rejects for services/. r=markh
MozReview-Commit-ID: LBGpRrw3zTx

--HG--
extra : rebase_source : 28353d39dd495114d987df36fd0ea1bd10ede1a3
2018-05-16 19:06:24 +01:00
Mathieu Leplatre 62ab89f1ab Bug 1451031 - Add JEXL filter support in Remote Settings r=mythmon
MozReview-Commit-ID: DwVdW1G3yZG

--HG--
extra : rebase_source : e030d29b915de8a1cbaa6f11f70231d1015febdf
2018-05-11 17:09:44 +02:00
Cosmin Sabou a6fd990875 Backed out changeset 2dc86982439a (bug 1451031) for xpcshell failures on services/common/tests/unit/test_blocklist_clients.js. 2018-05-22 19:51:34 +03:00
Mathieu Leplatre 8bddf3d2c9 Bug 1451031 - Add JEXL filter support in Remote Settings r=mythmon
MozReview-Commit-ID: DwVdW1G3yZG

--HG--
extra : rebase_source : 19e17e2af94afda999e557e89b786f7049a1fdc6
2018-05-11 17:09:44 +02:00
Mathieu Leplatre 12404fede5 Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy

--HG--
rename : services/blocklists/addons.json => services/settings/dumps/blocklists/addons.json
rename : services/blocklists/certificates.json => services/settings/dumps/blocklists/certificates.json
rename : services/blocklists/gfx.json => services/settings/dumps/blocklists/gfx.json
rename : services/blocklists/plugins.json => services/settings/dumps/blocklists/plugins.json
rename : services/blocklists/moz.build => services/settings/dumps/moz.build
rename : services/blocklists/pins.json => services/settings/dumps/pinning/pins.json
rename : services/blocklists/readme.md => services/settings/dumps/readme.md
extra : rebase_source : f659d946227db7b4266202283f44c1b3eadf53f1
2018-05-10 15:27:21 +02:00
Margareta Eliza Balazs 895a18e365 Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE
--HG--
rename : services/settings/dumps/blocklists/addons.json => services/blocklists/addons.json
rename : services/settings/dumps/blocklists/certificates.json => services/blocklists/certificates.json
rename : services/settings/dumps/blocklists/gfx.json => services/blocklists/gfx.json
rename : services/settings/dumps/moz.build => services/blocklists/moz.build
rename : services/settings/dumps/pinning/pins.json => services/blocklists/pins.json
rename : services/settings/dumps/blocklists/plugins.json => services/blocklists/plugins.json
rename : services/settings/dumps/readme.md => services/blocklists/readme.md
2018-05-16 13:24:53 +03:00
Mathieu Leplatre be075da5f4 Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy

--HG--
rename : services/blocklists/addons.json => services/settings/dumps/blocklists/addons.json
rename : services/blocklists/certificates.json => services/settings/dumps/blocklists/certificates.json
rename : services/blocklists/gfx.json => services/settings/dumps/blocklists/gfx.json
rename : services/blocklists/plugins.json => services/settings/dumps/blocklists/plugins.json
rename : services/blocklists/moz.build => services/settings/dumps/moz.build
rename : services/blocklists/pins.json => services/settings/dumps/pinning/pins.json
rename : services/blocklists/readme.md => services/settings/dumps/readme.md
extra : rebase_source : 9aa249dae91408da483be23371f6f106ad6a47ca
2018-05-10 15:27:21 +02:00
Mathieu Leplatre 2136d2066e Bug 1458920 - Filter RemoteSettings sync event data r=Gijs,mgoodwin
MozReview-Commit-ID: Hw9CA5W2J26

--HG--
extra : rebase_source : 689aae16d007c19f1d9c73c3be95bd5618b0fe36
2018-05-08 16:30:40 +02:00
Mathieu Leplatre 6e44c0840d Bug 1458920 - Add RemoteSettings custom filtering function r=Gijs
MozReview-Commit-ID: 1fxfg1MRww3

--HG--
extra : rebase_source : d2aba30ca2d5787d9fbf75c53ab299b71cea844a
2018-05-09 22:53:04 +02:00
Mathieu Leplatre 2414383617 Bug 1458920 - Update RemoteSettings documentation r=Gijs
MozReview-Commit-ID: JUKlnwZOIH8

--HG--
extra : rebase_source : 7d98d9c94cde1aab553fd1c6a41d97f28b21b36e
2018-05-07 18:34:58 +02:00
Mathieu Leplatre 377f047761 Bug 1459243 - Always store last check pref in RemoteSettings r=mgoodwin
MozReview-Commit-ID: 2CvYBKoOOaE

--HG--
extra : rebase_source : d438de6e14e5dc0db34548ba25b82e5e0e9bb5c0
2018-05-09 14:19:02 +02:00
Mathieu Leplatre 5aa6d86d41 Bug 1453690 - Fail nicely when RemoteSetting collection is not signed r=mgoodwin
MozReview-Commit-ID: ESP7GXfmYzU

--HG--
extra : rebase_source : 659f97e6d5317a5662c5d7f09fcf770d5928b444
2018-05-08 18:41:50 +02:00
Mark Banner 2ff4ec85fb Bug 1458235 - Drop cases of Components.stack.caller passed as the msg to Assert.* as it isn't necessary as we already work out the stack correctly for these cases. r=Gijs
MozReview-Commit-ID: BfFIzLr1sXv

--HG--
extra : rebase_source : 7f966ea034f269454a5b6206974734fdce106138
2018-05-04 11:26:59 +01:00
Mathieu Leplatre 4295b31449 Bug 1458827 - Add more information about RemoteSettings for developers r=Gijs,glasserc
MozReview-Commit-ID: 7LEZa6ICBB5

--HG--
extra : rebase_source : 2018f3fc52f1606ee43be8cebb6b072c1091c66f
2018-05-03 18:54:40 +02:00
Mathieu Leplatre 6a6bee3794 Bug 1454315 - Introduce RemoteSettings sync event r=mgoodwin
MozReview-Commit-ID: tFBTVSFaf2

--HG--
extra : rebase_source : 49a2df1f3ae4289ab9cfbcaacdb33ed2cd9e25d1
2018-04-17 17:03:36 +02:00
Mark Hammond 01bba2c16e Bug 1457815 - remove all sync log files when sync is disconnected. r=tcsc
MozReview-Commit-ID: 3YYn5311cCE

--HG--
extra : rebase_source : e9d51d5a7a21afc87442e6f354a313291c1bfdf4
2018-04-30 15:32:37 +10:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
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
Ethan Glasser-Camp 0197aec635 Bug 1453961: bump kinto.js version to 11.1.2 r=florian
This eliminates a quadratic behavior in SyncResultObject#add.

MozReview-Commit-ID: 5mZpQsMKzdO

--HG--
extra : rebase_source : cda775c458320b0de5782b515971ed19ff8e349b
2018-04-19 22:35:22 -04: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