Commit Graph

40 Commits

Author SHA1 Message Date
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08: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
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
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +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
Kit Cambridge
136c46a227 Bug 1264710 - Catch IDB exceptions in IndexedDBHelper. r=fabrice
MozReview-Commit-ID: 7L2lXkYvc1f
2016-04-14 10:00:42 -07:00
Fabrice Desré
8fb277b12e Bug 1201685 - Limit the number of indexedDB open() calls in IndexedDBHelper r=gwagner 2015-10-23 14:40:52 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ben Turner
a5c580f4f7 Bug 980549 - Simplify SettingsManager transaction management, r=gwagner. 2014-05-06 14:14:23 -07:00
Vivien Nicolas
53063d8db7 Bug 963553 - Prevent IndexedDBHelper.jsm to throw an error if there is no callbacks. r=anygregor 2014-01-25 16:13:04 +01:00
Jan Varga
c31e15a3ae Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent 2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
593930229e Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE 2013-11-19 11:41:52 +01:00
Jan Varga
584cd96d9f Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent 2013-11-19 08:36:12 +01:00
Andrea Marchesini
ccd5735c26 Bug 871445 - patch 3 - DataStore: getChanges + revisionID, r=ehsan, sr=mounir, r=bent 2013-10-02 13:27:11 -04:00
Ed Morley
1e8fb749bb Backed out changeset cab0ddcff382 (bug 871445) 2013-10-02 17:57:46 +01:00
Andrea Marchesini
c9e99525b5 Bug 871445 - patch 3 - DataStore: getChanges + revisionID, r=ehsan, sr=mounir, r=bent 2013-10-02 11:30:26 -04:00
Jan Varga
86fb699d45 Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger) 2013-09-28 13:25:46 +02:00
Gregor Wagner
d60f3aaac9 Bug 907996 - Contacts: Fix error callbacks. r=reuben 2013-08-22 12:05:01 -07:00
Reuben Morais
636163bbf7 Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner 2013-08-12 21:58:38 -03:00
Fabrice Desré
fdcfd6c899 Bug 877869 - Fix typo in indexedbHelper.jsm r=bent 2013-05-30 16:19:22 -07:00
Reuben Morais
729b2afb26 Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Jeff Walden
f6dc7f50d3 Bug 836519 - Back out 7a145f17e37c for intermittent 'dom/contacts/tests/test_contacts_getall.html | 19 contacts returned - got 20, expected 19' in the test it added. r=intermittent-orange 2013-02-16 00:42:26 -08:00
Reuben Morais
043b9fb878 Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Reuben Morais
7e91602cc3 Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner 2013-01-30 18:03:46 -08:00
Gregor Wagner
9aa7c01424 Bug 836157 - Contacts API: Remove unused indexes. r=bent 2013-01-30 17:17:07 -08:00
Nikhil Marathe
148d50ee85 Bug 822406 - Use transaction.error.name when possible. r=gwagner 2012-12-17 20:53:39 -05:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Kyle Huey
fd2021a7e9 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Gregor Wagner
e2c65601b6 Bug 746066 - Contacts API: Add v1 and v2 fields. r=fabrice,sicking 2012-05-10 21:51:48 -07:00
Gregor Wagner
a7cb9c22b8 Bug 746933 - Create a JS helper module for common IndexedDB functionality. r=fabrice 2012-04-26 15:10:04 -07:00