Tom Tung
d2cd03866d
Bug 1484615 - Followup comment fix for bug 1409641; r=janv
...
This patch add comments to IndexedDBHelper.jsm to clarify how txn.result is set.
The comments should clear up any confusion caused by previous commit message
(fix for bug 1409641).
--HG--
extra : rebase_source : 57a6f3eb569224a9e432803ef67d80f57219f7ab
2018-08-20 11:46:24 +02:00
Tom Tung
e66bb71c21
Bug 1409641: Get the result only when it's defined in IDBtranscation. r=janv
...
--HG--
extra : rebase_source : 005404b167d8399263acb52021cce9222dfb7536
2018-08-16 16:09:40 +02: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
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
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
Florian Queze
4b1556a5f2
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
4c6a68d1c9
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
159215e6f4
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +02:00
Florian Queze
a363fb8c8b
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
7810d425a8
Bug 1264710 - Catch IDB exceptions in `IndexedDBHelper`. r=fabrice
...
MozReview-Commit-ID: 7L2lXkYvc1f
--HG--
extra : rebase_source : dabd3510266ae8445bc7d79507e56734ba879533
2016-04-14 10:00:42 -07:00
Fabrice Desré
59bf225b8b
Bug 1201685 - Limit the number of indexedDB open() calls in IndexedDBHelper r=gwagner
2015-10-23 14:40:52 -07:00
Shu-yu Guo
64db2267cf
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
36818ba16c
Bug 980549 - Simplify SettingsManager transaction management, r=gwagner.
...
--HG--
extra : rebase_source : 9378c05ec7a5de6f4f692680f2d4aa08b0d32957
2014-05-06 14:14:23 -07:00
Vivien Nicolas
538e411ed4
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
8f8a999182
Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
...
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
4551469986
Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
...
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Jan Varga
5eebe35433
Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
...
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Andrea Marchesini
214ea52208
Bug 871445 - patch 3 - DataStore: getChanges + revisionID, r=ehsan, sr=mounir, r=bent
2013-10-02 13:27:11 -04:00
Ed Morley
dab8b26c78
Backed out changeset cab0ddcff382 (bug 871445)
2013-10-02 17:57:46 +01:00
Andrea Marchesini
217ce1fb24
Bug 871445 - patch 3 - DataStore: getChanges + revisionID, r=ehsan, sr=mounir, r=bent
2013-10-02 11:30:26 -04:00
Jan Varga
01428648b0
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
560bcc356d
Bug 907996 - Contacts: Fix error callbacks. r=reuben
2013-08-22 12:05:01 -07:00
Reuben Morais
b9c1c9a244
Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner
2013-08-12 21:58:38 -03:00
Fabrice Desré
84d37d2abb
Bug 877869 - Fix typo in indexedbHelper.jsm r=bent
2013-05-30 16:19:22 -07:00
Reuben Morais
b1bd80142e
Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner
2013-02-03 04:05:51 -08:00
Jeff Walden
3d6315d338
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
c9fdfd74d1
Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner
2013-02-03 04:05:51 -08:00
Reuben Morais
24db28157f
Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner
2013-01-30 18:03:46 -08:00
Gregor Wagner
f75904f210
Bug 836157 - Contacts API: Remove unused indexes. r=bent
2013-01-30 17:17:07 -08:00
Nikhil Marathe
69451fd4e3
Bug 822406 - Use transaction.error.name when possible. r=gwagner
2012-12-17 20:53:39 -05:00
Kyle Huey
0469a02b25
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
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
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
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
ada443da57
Bug 726378: Unprefix IndexedDB. r=sicking
2012-06-29 09:48:35 -07:00
Gregor Wagner
51e7c155b7
Bug 746066 - Contacts API: Add v1 and v2 fields. r=fabrice,sicking
2012-05-10 21:51:48 -07:00
Gregor Wagner
f3aea8b4a6
Bug 746933 - Create a JS helper module for common IndexedDB functionality. r=fabrice
2012-04-26 15:10:04 -07:00