Commit Graph

143 Commits

Author SHA1 Message Date
Jeffrey Tran
08802f2162 Bug 1230685 - Replace function declarations with add_task statements in test_storage_value_array.js and test_unicode.js. r=mak 2016-02-10 15:30:34 +01:00
Jeffrey Tran
7bdd17b03d Bug 1230683 - Replace try/catch with Assert.throws in test_storage_connection.js. r=mak 2016-02-10 15:30:28 +01:00
Dave Townsend
db523ac819 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Jeffrey Tran
50ed428a18 Bug 555087 - Add check for exception when passing undefined parameter. r=adw 2016-01-20 16:37:00 +01:00
Dave Townsend
6278f7672e Bug 1239354: Replace old-style generator function with star functions. r=asuth 2016-01-13 08:58:15 -08:00
Andrew Sutherland
6f74d9e031 Bug 1237601 - Perform storage close synchronously if async thread cannot be started. r=bkelly
Also factors asyncClose tests out into their own file.
2016-01-07 11:18:00 -05:00
Andrew Sutherland
5529ec75cf Bug 1237601 - Centralize storage xpcshell promise helpers (support patch). r=bkelly 2016-01-12 17:27:33 -05:00
Marco Bonardo
70d43a3693 Bug 1230549 - Storage should pass more eslint rules. r=yoric 2015-12-04 17:00:03 +01:00
Marco Bonardo
58dbae0e50 Bug 1230549 - Make Storage pass basic eslint. r=yoric 2015-12-04 15:52:43 +01:00
Tooru Fujisawa
8ed3f7bb89 Bug 1217982 - Remove for-each from storage/. r=mak 2015-10-19 03:53:14 +09:00
Tooru Fujisawa
7fbb71a90c Bug 1207499 - Part 9: Remove use of expression closure from storage/. r=mak 2015-09-23 18:42:19 +09:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Birunthan Mohanathas
5783ee9bf7 Bug 1164717 - Flatten storage/src/ directory. r=mak 2015-05-19 10:47:33 -07:00
Marco Bonardo
85a698b666 Bug 1005991 - mozStorage should not use XPCVariant off the main thread. r=asuth 2015-03-12 17:55:56 +01:00
Tom Schuster
3607ae7820 Bug 1097267 - Change the enumerate hook usage in XPC and browser. r=bholley 2014-12-11 19:31:10 +01:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shu-yu Guo
9baa236495 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Marco Bonardo
1eff7144d0 Bug 1047811 - Part 1 - Allow to commit a main-thread Storage transaction asynchronously. r=asuth 2014-09-10 12:46:14 +02:00
Carsten "Tomcat" Book
ae51f72a45 Backed out changeset bc1363a17e0e (bug 1047811) for bustage 2014-09-10 13:08:07 +02:00
Marco Bonardo
26384947de Bug 1047811 - Part 1 - Allow to commit a main-thread Storage transaction asynchronously. r=asuth 2014-09-10 12:46:14 +02:00
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Nochum Sossonko
c75f7f3a7e Bug 481178 - mozIStorageConnection createTable and tableExists should support attached databases. r=mak 2014-04-09 09:22:33 -04:00
Gabriele Svelto
68c376372b Bug 411894 - Flush all mozStorageConnections' caches in response to memory pressure events. r=mak 2014-03-27 11:19:49 +01:00
Paolo Amadini
e7ed1c1bf4 Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-03-18 15:16:02 +01:00
Mark Capella
e53f491d81 Bug 472963 - TableExists and IndexExists does not work for temporary tables, r=mak 2013-09-27 17:04:17 -04:00
Gregory Szorc
160a20817c Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
David Rajchenbach-Teller
cb3df1c5ae Bug 911109 - Statement::internalFinalize now doesn't cause finalization if the connection is already closed. r=asuth 2013-09-04 12:51:45 -04:00
David Rajchenbach-Teller
63a1031be7 Bug 874814 - Close AsyncClose() off the main thread and loop until all statements are finalized. r=mak 2013-08-27 17:07:04 -04:00
Geoff Brown
5a46efbe2b Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
David Rajchenbach-Teller
eab6dc1b5c Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak 2013-06-27 09:00:59 -04:00
Ed Morley
25538186e2 Backed out changeset ad1819ab302a (bug 702559) 2013-06-26 12:56:17 +01:00
David Rajchenbach-Teller
8de4be02ee Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak 2013-06-26 05:45:49 -04:00
Xin Zhang
90e0d609a9 Bug 849764 - Replace removeObserver() calls with three params with two in storage dir. r=mak 2013-04-06 14:46:35 -04:00
Ben Turner
d7f95aa8c9 Bug 857376 - 'Use 2k page_size for databases on B2G'. r=mak, sr=mossop. 2013-04-04 17:14:46 -07:00
Marco Bonardo
b0452f575e Bug 836039 - Reduce cache size per SQLite connection to 2MB
r=asuth
2013-02-21 11:12:48 +01:00
Ryan VanderMeulen
841f229e8b Backed out changesets 50f4ba15a3c7 and cafa8ba33704 (bug 796388) for mochitest-2 orange. 2013-01-29 16:38:37 -05:00
Nathan Froyd
7986f9a2ea Bug 796388 - part 1 - delete TelemetryVFS; r=mak 2013-01-29 11:57:01 -05:00
Kyle Huey
45adfbf2c8 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a 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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
02d8547fc2 Bug 589032 - remove mozIStorageStatementWrapper; r=mak 2012-05-02 13:01:39 -04:00
Rafael Ávila de Espíndola
6bda5a9b48 Bug 714377 - Close connection in storage/test/unit/test_storage_connection.js. r=mak. 2012-01-03 14:59:32 -05:00
Rafael Ávila de Espíndola
2d330ca79e Bug 714378 - Close connections in storage/test/unit/vacuumParticipant.js. r=mak 2012-01-03 09:41:16 -05:00
Rafael Ávila de Espíndola
651f8a18eb Bug 714367 - Add an explicit getOpenedUnsharedDatabase to storage/test/unit/head_storage.js. r=mak. 2012-01-03 09:12:54 -05:00
Nicholas Nethercote
7e3ebd3ec7 Bug 703113 - Fix overshadowed |pageSize| variable in Connection::initialize. r=mak. 2011-11-23 14:22:13 -08:00
Marco Bonardo
0f9feaf9b3 Bug 692487 - Decrease Storage connections default cache_size.
r=sdwilsh
2011-11-09 15:06:40 +01:00