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

35 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Leplatre db4631f13b Bug 1497159 - Use Megaphone payload for cache busting r=glasserc
Pass the expected timestamp along in querystring

Differential Revision: https://phabricator.services.mozilla.com/D8002

--HG--
extra : moz-landing-system : lando
2018-10-09 14:05:01 +00:00
Mathieu Leplatre c8ed5791e4 Bug 1483948 - Upgrade vendored kinto.js to v12.0.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3610

--HG--
extra : moz-landing-system : lando
2018-09-19 10:16:41 +00:00
Mathieu Leplatre ee7030befa Bug 1471901 - Allow synchronization of custom record IDs in RemoteSettings r=florian
MozReview-Commit-ID: 5LjcZ7Xjjxi

--HG--
extra : rebase_source : a3969670d7d78493e6cc00ca05a4e0668de23f65
2018-07-11 14:50:47 +02:00
Coroiu Cristina f36bfa8405 Backed out changeset a97d964a2157 (bug 1471901) for xpcshell failures at services/common/tests/unit/test_blocklist_certificates.js on a CLOSED TREE 2018-07-12 14:52:56 +03:00
Mathieu Leplatre 16b4b5172c Bug 1471901 - Allow synchronization of custom record IDs in RemoteSettings r=florian
MozReview-Commit-ID: 5LjcZ7Xjjxi

--HG--
extra : rebase_source : 5e51abfaba7908c977d2f82e6e5b94ebf21d758c
2018-07-11 14:50:47 +02:00
Kris Maglione 7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -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
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
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
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
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
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
Kris Maglione 8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Ethan Glasser-Camp f9f6f160da Bug 1364135: Clean up detection/handling of deleted keyrings, r=kmag,MattN
MozReview-Commit-ID: CoOwUazDRSL

--HG--
extra : rebase_source : d027c47f1b5740fa9916420b5dafdac935264ff8
2017-05-11 13:15:20 -04:00
Alexandre Poirot c90bccb53a Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK

--HG--
extra : rebase_source : 7fb015f56be94c4bbe2d56506653f069c9ad8dd3
2017-04-27 17:58:09 +02:00
Ethan Glasser-Camp 6128dd8aef Bug 1333810: Update kinto.js version to 8.0.0, r=MattN
This allows us to transform deletes. See
https://github.com/Kinto/kinto.js/pull/640/.

MozReview-Commit-ID: 3EWcxW4Ny6s

--HG--
extra : rebase_source : 67cd78dcde8a220c7939486599f315c93b9092dc
2017-01-27 19:23:05 -05:00
Mathieu Leplatre 8f6110a8e5 Bug 1331604 - Upgrade kinto libraries (r=glasserc,RyanVM)
MozReview-Commit-ID: AfbkZozKDzb

--HG--
extra : rebase_source : 7a2ad054d5d449903a1d659ace183d3ecc613c01
2017-01-18 14:53:52 +01:00
Mark Banner 582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Ethan Glasser-Camp 4742db4baa Bug 1317841 - Update version of kinto.js to v6.0.0, r=MattN
This major version of kinto.js released without a FirefoxStorage
adapter. Since Gecko is the only project with a need for this adapter
as well as the only one who can use it, that file moves to this repo
as a new kinto-storage-adapter.js. This file is mostly a copy of the
most recent FirefoxStorage.js, plus some other non-exported utility
functions copied from kinto.js to make it work.

This changes the export of the kinto-offline-client.js from a
`loadKinto` function which returns the Kinto class, to the actual
Kinto class itself, with the user expected to "hook up" the
adapter. It turns out that this doesn't change much in how we actually
use Kinto, since we were always previously explicitly selecting the
Kinto adapter.

This release of kinto.js also changes some of the build options
around, which changes the minified output of kinto-offline-client.js.

There are still some outstanding stylistic complaints about
FirefoxAdapter having to do with its _init static method which is
public and the fact that sometimes FirefoxAdapter manages its own
Sqlite connection and sometimes it doesn't. These will be addressed in
a future patch.

MozReview-Commit-ID: HF0oNCEDcFs

--HG--
rename : services/common/kinto-offline-client.js => services/common/kinto-storage-adapter.js
extra : rebase_source : 11d01e573b259798305494ac072575247ac01e2c
2016-11-15 19:38:53 -05:00
Ethan Glasser-Camp 65d084b973 Bug 1315247 - Update version of Kinto.js client to 5.1.0, r=MattN
MozReview-Commit-ID: K68DXYrpHYX

--HG--
extra : rebase_source : 9c2dd7ff123ce364e9ee5cfaee4efe73ee26c83b
2016-11-04 09:38:34 -04:00
Ethan Glasser-Camp bce63cb01d Bug 1308515: Update version of kinto.js client to 5.0.0, r=MattN
MozReview-Commit-ID: D3WISXfSaTz

--HG--
extra : rebase_source : ab9d5497c4b1aa22ae15bae65ef4f7a30ec87626
2016-10-07 10:27:48 -04:00
Ethan Glasser-Camp b307183a8c Bug 1300591 - Update Kinto.js to v4.0.4, r=MattN
MozReview-Commit-ID: B5pB3AmjjAL

--HG--
extra : rebase_source : ff7960141b7a46dc4a96c1dce6286d942c02645c
2016-09-05 13:18:25 -04:00
Ethan Glasser-Camp 64606dd324 Bug 1299208 - Update kinto.js to v4.0.3. r=MattN
MozReview-Commit-ID: HlLbIpRri19

--HG--
extra : rebase_source : 68371c68745480f36b516b208428d2453ea06609
2016-08-30 12:19:19 -04:00
Ethan Glasser-Camp f42c20c601 Bug 1298106 - Update Kinto.js to 4.0.2, r=MattN
MozReview-Commit-ID: 3xi7o9DvAmS

--HG--
extra : rebase_source : a751fea322f063718aa91630bb4c6303e36fe48c
2016-08-25 14:13:15 -04:00
Ethan Glasser-Camp 7e018723e9 Bug 1282109: update kinto-offline-client.js, r=MattN
MozReview-Commit-ID: BiE4UvlLu6T
2016-07-13 15:09:42 -04:00
Mathieu Leplatre ffa05b0781 Bug 1268907 - Fix kinto-offline packaging about Buffer. r=mgoodwin, r=MattN
MozReview-Commit-ID: 9vHN2COufQi

--HG--
extra : rebase_source : 7547c221f748720b6cb314c023c25af855208787
2016-05-02 12:45:50 +02:00
Mathieu Leplatre ca88fcd131 Bug 1262389 - Update to kinto.js 2.0. r=mgoodwin,MattN
* Land kinto.js 2.0, with transactions, indexeddb optimizations and incoming-changes hooks for content signing
* Renamed moz-kinto-client.js to kinto-offline-client.js
* Introduced kinto-http-client.js for direct interaction with Kinto HTTP API

MozReview-Commit-ID: 2rOW27cB7wt

--HG--
rename : services/common/moz-kinto-client.js => services/common/kinto-offline-client.js
extra : amend_source : d1fe9291dbec41bae1b4521ab7e64ae4def6f403
2016-04-14 16:07:31 -07:00