Commit Graph

220 Commits

Author SHA1 Message Date
Benoit Jacob
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Ed Morley
798f1d2efc Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Fernando Jiménez
87b8290faf Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Benoit Jacob
05cd90f1fc Bug 1027251 - Fix or whitelist dangerous public destructors in dom/ - r=smaug 2014-06-18 22:28:59 -04:00
Andrea Marchesini
cc2ba4f0a5 Bug 1026265 - DataStore API - name error in a property of DataStoreChangeNotifier, r=ehsan 2014-06-17 19:59:22 +01:00
Andrea Marchesini
dd273ed3a3 Bug 1024618 - DataStoreChangeNotifier.jsm doesn't remove all the children when they are unregistered, r=ehsan 2014-06-14 08:05:47 +01:00
Ehsan Akhgari
a256b73ccf Bug 1024465 - Define an out of line destructor for DataStore so that we can forward delcare DataStoreImpl in DataStore.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<DataStoreImpl>
member requires the full definition of the type.
2014-06-12 11:31:36 -04:00
Boris Zbarsky
bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Olli Pettay
0040a9cd76 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Boris Zbarsky
a0760577c7 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Ryan VanderMeulen
24cbfd735d Backed out changesets 6d1c36585219 and bd403a727849 (bug 1016560) for mochitest-other failures.
CLOSED TREE
2014-06-03 13:48:49 -04:00
Boris Zbarsky
bb12a83cbe Bug 1016560 followup. Fix a new Promise::MaybeReject callsite that was introduced. r=build-bustage 2014-06-03 12:03:16 -04:00
Andrea Marchesini
efb2e9ec25 Bug 957086 - patch 4 - Correct permissions for apps, r=ehsan
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_bug957086.html
2014-06-03 15:36:46 +01:00
Andrea Marchesini
ce2ea0ca27 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-06-03 15:36:46 +01:00
Andrea Marchesini
095068b4df Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-06-03 15:36:46 +01:00
Andrea Marchesini
45e09e0b0d Bug 957086 - patch 1 - nsIDataStore instead DataStore.jsm, r=ehsan
--HG--
rename : dom/datastore/DataStoreImpl.jsm => dom/datastore/DataStoreImpl.js
2014-06-03 15:36:46 +01:00
Ehsan Akhgari
4b8e9c1f5c Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Andrea Marchesini
b15607ce18 Bug 957086 - patch 3 - DataStoreService in C++ for OOP, r=janv 2014-05-30 07:59:51 +01:00
Andrea Marchesini
21d0e1aef4 Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-05-30 07:59:27 +01:00
Andrea Marchesini
86a526b1e5 Bug 957086 - patch 1 - nsIDataStore instead DataStore.jsm, r=ehsan
--HG--
rename : dom/datastore/DataStoreImpl.jsm => dom/datastore/DataStoreImpl.js
2014-05-30 07:59:00 +01:00
Ryan VanderMeulen
f97a6f77b4 Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini
cc10beffc2 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-05-29 16:35:03 +01:00
Andrea Marchesini
28ba788770 Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-05-29 16:34:43 +01:00
Andrea Marchesini
30e855873c Bug 957086 - patch 1 - nsIDataStore instead DataStore.jsm, r=ehsan
--HG--
rename : dom/datastore/DataStoreImpl.jsm => dom/datastore/DataStoreImpl.js
2014-05-29 16:34:03 +01:00
Andrea Marchesini
7cf70f2edb Bug 1008044 - DataStoreServiceChild should check the name of the DataStore before resolving the promise callback, r=ehsan, f=kgrandon
--HG--
rename : dom/datastore/tests/test_oop.html => dom/datastore/tests/test_bug1008044.html
2014-05-22 12:12:15 +01:00
Andrea Marchesini
8dd76ef9c7 Bug 1012887 - DataStoreCursorImpl.jsm must check if the window is still available, r=gene 2014-05-20 10:03:35 +01:00
Andrew McCreight
f9ac462a15 Bug 1008400 - DataStore should invoke its parent's Traverse/Unlink. r=smaug 2014-05-12 10:01:27 -07:00
Gene Lian
c0e179023a Bug 1006566 - Unify the common DataStore tests between the main thread and the worker thread (part 3, minor alignment). r=baku 2014-05-12 14:42:09 +08:00
Gene Lian
bccbcc8f23 Bug 1006566 - Unify the common DataStore tests between the main thread and the worker thread (part 2, unify the common parts). r=baku 2014-05-12 14:42:01 +08:00
Gene Lian
6584241b87 Bug 1006566 - Unify the common DataStore tests between the main thread and the worker thread (part 1, make up missing tests for workers). r=baku 2014-05-12 14:41:35 +08:00
Gene Lian
9e2b4ca60d Bug 1006562 - WorkerDataStoreCursor.store should be equal to the WorkerDataStore which owns the cursor (part 2, WorkerDataStoreCursor.store == WorkerDataStore). r=baku 2014-05-07 19:55:23 +08:00
Gene Lian
40f7c682ec Bug 949325 - C++ wrapper to support DataStore API on the worker (part 3-3, test sync cases on workers). r=baku 2014-03-12 17:03:29 +08:00
Gene Lian
1658c83e1c Bug 949325 - C++ wrapper to support DataStore API on the worker (part 3-2, test basic cases on workers). r=baku 2014-02-24 21:57:58 +08:00
Gene Lian
5679c542e5 Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-4, should create array based on the window to return). r=baku 2014-02-24 21:57:24 +08:00
Gene Lian
1268aa20e8 Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-3, dispatch tasks on the worker to the main thread). r=baku,khuey f=nsm 2014-02-24 21:57:15 +08:00
Andrea Marchesini
e14e2577f7 Bug 1000837 - {DataStoreTask|DataStoreChangeEvent}.id and DataStoreTask.data have to be nullable, r=gene 2014-04-28 10:54:38 +01:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Gene Lian
f232e3218e Bug 949325 - C++ wrapper to support DataStore API on the worker (part 1, C++ stubs for DataStore and DataStoreCursor). r=baku,ehsan
--HG--
rename : dom/datastore/DataStoreCursor.jsm => dom/datastore/DataStoreCursorImpl.jsm
rename : dom/datastore/DataStore.jsm => dom/datastore/DataStoreImpl.jsm
2013-12-20 16:17:49 +08:00
Andrea Marchesini
db98500564 Bug 963038 - Datastore: Support for Transactional semantics, r=ehsan
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_transactions.html
2014-04-07 21:08:11 +01:00
Andrea Marchesini
0579b29d45 Bug 986056 - DataStoreService should delete dataStores only when apps are uninstalled, r=ehsan
--HG--
rename : dom/datastore/tests/file_bug976311.template.webapp => dom/datastore/tests/file_bug986056.template.webapp
2014-03-28 17:41:00 +00:00
Carsten "Tomcat" Book
9e5bb72f43 merge fx-team to mozilla-central 2014-03-20 14:04:58 +01:00
Andrea Marchesini
53cd0d1130 Bug 985686 - DataStoreServiceChild is not leaked, r=ehsan 2014-03-19 22:39:23 +00:00
Andrea Marchesini
caeca6d43d Bug 985042 - DataStore.jsm removes its inner-window-destroyed observer. r=ehsan 2014-03-19 06:03:11 -07:00
Andrea Marchesini
d0c0a9f186 Bug 985042 - DataStore.jsm removes its inner-window-destroyed observer. r=fabrice 2014-03-19 09:01:02 -04:00
Marco Castelluccio
f07845494b Bug 983641 - Fail the apps tests explicitly in case of exceptions instead of letting them fail because of timeouts. r=fabrice 2014-03-19 08:48:24 -04:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
910cf28c11 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Andrea Marchesini
00b3824176 Bug 979974 - Fixes to DataStoreChangeNotifier for change events from a different app. r=ehsan 2014-03-06 08:52:54 -05:00
Andrea Marchesini
acde2c54aa Bug 979199 - DataStore should not dispatch events when the window is destroyed, r=ehsan 2014-03-04 16:24:32 +00:00
Andrea Marchesini
192d9d7bf1 Bug 976313 - DataStoreChangeEvent should have 'owner' property, r=ehsan 2014-02-28 07:34:38 +00:00
Andrea Marchesini
0ca610489e Bug 976311 - DataStore checks if the messages are for itself, r=ehsan 2014-02-26 17:38:38 +00:00
Andrea Marchesini
1dfe44ffe0 Bug 974270 - Fixed b2g datastore mochitest failure - undefined testStoreGet() method., r=ehsan 2014-02-26 17:36:40 +00:00
Andrea Marchesini
e41626ff95 Bug 967414 - Enable DataStore API in B2G for certified apps only by default, r=bz 2014-02-06 17:44:03 +00:00
Nikhil Marathe
5f05b80e02 Bug 918806 - Remove all mention of dom.promise.enabled from other tests. r=bz,schien
--HG--
extra : rebase_source : a07485081313d6002459bd64e3abf4ebb10b960d
2014-01-30 13:14:03 -08:00
Ryan VanderMeulen
aa8ede1cff Backed out changesets 6db8b08a3aea and 1d7c2025bb56 (bug 918806) for B2G mochitest failures. 2014-01-30 14:46:36 -05:00
Nikhil Marathe
d2b71e77aa Bug 918806 - Remove all mention of dom.promise.enabled from other tests. r=bz,schien 2014-01-30 09:43:09 -08:00
Andrea Marchesini
7c745b83df Bug 964293 - Implement Cu.cloneInto() method, r=bholley 2014-01-30 04:45:48 -08:00
Andrea Marchesini
0f3efaf5c6 Bug 962516 - DataStore add() returns an error if the key is duplicated, r=ehsan 2014-01-23 19:31:01 +00:00
Andrea Marchesini
bb2f046496 Bug 961785 - DataStoreChangeNotification should not check the appStatus when the client is shutting down, r=ehsan 2014-01-22 10:19:23 +00:00
Andrea Marchesini
5ce4271c24 Bug 939331 - [Datastore] onchange event is fired for clear operations, r=ehsan 2014-01-03 21:06:19 +00:00
Andrea Marchesini
6386344ddb Bug 946316 - Allow the use of strings as DataStore IDs, r=ehsan 2013-12-19 09:07:21 +00:00
Ryan VanderMeulen
7f18fcf79f Backed out changeset f278295dd6a0 (bug 946316) for frequent failures in the test it added. 2013-12-16 13:31:47 -05:00
Andrea Marchesini
002d1788e2 Bug 946316 - Allow the use of strings as DataStore IDs, r=ehsan 2013-12-16 14:23:06 +00:00
Andrea Marchesini
539b6f395d Bug 938406 - DataStore - proper event sent when the first revision is created, r=ehsan 2013-12-12 10:18:37 +00:00
Andrea Marchesini
92c6207aa7 Bug 947134 - Enable datastore/tests/test_certifiedApp.html for B2G Emulator, r=ehsan 2013-12-06 16:40:49 +00:00
Andrea Marchesini
8780029785 Bug 942639 - Make DataStore API Certified-only for 1.3, r=ehsan, r=fabrice 2013-12-05 23:12:23 +00:00
Andrea Marchesini
b62e9cf287 Bug 938406 - DataStoreService.jsm must emit 'datastore-first-revision-created' also when the first revision already exists., r=ehsan 2013-12-05 21:07:13 +00:00
Ryan VanderMeulen
6d8ee2edb2 Backed out changeset 9fb6d1811696 (bug 942639) for B2G mochitest-3 timeouts. 2013-12-05 11:36:01 -05:00
Andrea Marchesini
d1c27fb4d3 Bug 942639 - Make DataStore API Certified-only for 1.3, r=ehsan, r=fabrice 2013-12-05 13:50:11 +00:00
Andrea Marchesini
2f6d4e0b07 Bug 943430 - Rename geo.testing.ignore_ipc_principal to dom.testing.ignore_ipc_principal. r=ehsan 2013-12-02 10:27:57 -05:00
Andrea Marchesini
836360f194 Bug 923625 - DataStore sends the principal as argument in sendAsyncMessage, r=ehsan 2013-11-26 16:31:07 +00:00
Vendelin Ruzicka
5159b57ee8 Bug 921478 - Part 2: Convert test_contacts_upgrade.html to real chrome mochitest. r=bent
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
2013-11-19 08:36:33 +01:00
Carsten "Tomcat" Book
c66b5e35ce Backed out changeset e07cab8a2732 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_upgrade.html
2013-11-19 11:41:29 +01:00
Vendelin Ruzicka
3b4e8ca478 Bug 921478 - Part 2: Convert test_contacts_upgrade.html to real chrome mochitest. r=bent
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
2013-11-19 08:36:33 +01:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Carsten "Tomcat" Book
2f2903b541 Backed out changeset 6da206d64b49 (bug 923625) for failing mochitest 3 on b2g ics 2013-11-09 10:06:10 +01:00
Andrea Marchesini
dc77f637fc Bug 933050 - DataStore.add should receive an optional key value., r=ehsan 2013-11-08 23:10:29 +00:00
Andrea Marchesini
4abbe765f1 Bug 933049 - Remove DataStore getChanges, r=ehsan 2013-11-08 23:07:50 +00:00
Andrea Marchesini
2142e2edae Bug 923625 - DataStore sends the principal as argument in sendAsyncMessage, r=ehsan 2013-11-08 23:05:39 +00:00
Andrea Marchesini
5c1103a054 Bug 926553 - Reduce the number of items in test_arrays.html to avoid timeouts indebug B2G emulators. r=ehsan 2013-10-16 08:12:16 -04:00
Andrea Marchesini
8801bcf4dc Bug 924125 - DataStore API is always returning empty objects, r=ehsan
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_bug924104.html
2013-10-07 12:09:08 -04:00
Andrea Marchesini
7ff9d39823 Bug 923635 - DataStore mochitests should use mochitest.ini file, r=ms2ger 2013-10-04 13:08:28 -04:00
Andrea Marchesini
5f3d99a7b5 Bug 916445 - DataStore API - sync method, r=ehsan 2013-10-02 16:39:54 -04:00
Andrea Marchesini
7ba0700393 Bug 871445 - patch 10 - DataStore: indexedDB permissions, r=ehsan 2013-10-02 13:27:23 -04:00
Andrea Marchesini
406666aa48 Bug 871445 - patch 9 - DataStore: child<->parent communication, r=ehsan
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_oop.html
2013-10-02 13:27:15 -04:00
Andrea Marchesini
06e9e779c3 Bug 871445 - patch 8 - DataStore: disabled by default, r=ehsan 2013-10-02 13:27:15 -04:00
Andrea Marchesini
56578d573e Bug 871445 - patch 7 - DataStore: WebIDL porting 2013-10-02 13:27:15 -04:00
Andrea Marchesini
6d4224069a Bug 871445 - patch 6 - DataStore: getLength and arrays in get(), r=ehsan 2013-10-02 13:27:15 -04:00
Andrea Marchesini
37fce0cb23 Bug 871445 - patch 5 - DataStore: onchange, r=ehsan, r=bent 2013-10-02 13:27:15 -04:00
Andrea Marchesini
de550182d6 Bug 871445 - patch 4 - DatAStore: permissions, owned/access, r=mounir, r=ehsan
--HG--
rename : dom/datastore/tests/file_app.template.webapp => dom/datastore/tests/file_app2.template.webapp
rename : dom/datastore/tests/test_revision.html => dom/datastore/tests/file_revision.html
2013-10-02 13:27:14 -04: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
Andrea Marchesini
771c5cedf1 Bug 871445 - patch 2 - DataStore: basic functions, r=mounir, r=bent 2013-10-02 13:27:09 -04:00
Andrea Marchesini
7694ae6848 Bug 871445 - patch 1 - DataStoreService and getDataStores(), r=mounir, r=fabrice, r=ehsan
--HG--
rename : dom/apps/tests/file_app.sjs => dom/datastore/tests/file_app.sjs
rename : dom/apps/tests/file_hosted_app.template.webapp => dom/datastore/tests/file_app.template.webapp
2013-10-02 13:27:07 -04:00
Ed Morley
5b2269dad3 Backed out changeset 3986762b88a3 (bug 871445) for failures in test_app_install.html 2013-10-02 17:58:06 +01:00
Ed Morley
6c7168162b Backed out changeset 100f3ba430f9 (bug 871445) 2013-10-02 17:57:49 +01:00
Ed Morley
dab8b26c78 Backed out changeset cab0ddcff382 (bug 871445) 2013-10-02 17:57:46 +01:00
Ed Morley
63422159bf Backed out changeset 0e76a4134db2 (bug 871445) 2013-10-02 17:57:43 +01:00
Ed Morley
65cd821996 Backed out changeset 325f389cb437 (bug 871445) 2013-10-02 17:57:40 +01:00
Ed Morley
1ed0b4c575 Backed out changeset 55bce2dae36a (bug 871445) 2013-10-02 17:57:37 +01:00
Ed Morley
cd57c59738 Backed out changeset 29a5ddc51453 (bug 871445) 2013-10-02 17:57:34 +01:00
Ed Morley
3dcd6ea117 Backed out changeset 0b73fe0f2b97 (bug 871445) 2013-10-02 17:57:31 +01:00
Ed Morley
8b3e4ca8ce Backed out changeset eae1be292a21 (bug 871445) 2013-10-02 17:57:28 +01:00
Ed Morley
0df0b6ee1a Backed out changeset 2767ff221c92 (bug 871445) 2013-10-02 17:57:25 +01:00
Ed Morley
b5521266d2 Backed out changeset b694df7e2faa (bug 871445) 2013-10-02 17:57:22 +01:00
Andrea Marchesini
f02490cab3 Bug 871445 - DataStore API - sync method, r=ehsan 2013-10-02 11:34:41 -04:00
Andrea Marchesini
3fc9fec180 Bug 871445 - patch 10 - DataStore: indexedDB permissions, r=ehsan 2013-10-02 11:30:34 -04:00
Andrea Marchesini
3258249ef5 Bug 871445 - patch 9 - DataStore: child<->parent communication, r=ehsan
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_oop.html
2013-10-02 11:30:27 -04:00
Andrea Marchesini
0be187486b Bug 871445 - patch 8 - DataStore: disabled by default, r=ehsan 2013-10-02 11:30:27 -04:00
Andrea Marchesini
ffd97aa0da Bug 871445 - patch 7 - DataStore: WebIDL porting 2013-10-02 11:30:27 -04:00
Andrea Marchesini
cdcb4182f9 Bug 871445 - patch 6 - DataStore: getLength and arrays in get(), r=ehsan 2013-10-02 11:30:27 -04:00
Andrea Marchesini
3aef75306b Bug 871445 - patch 5 - DataStore: onchange, r=ehsan, r=bent 2013-10-02 11:30:26 -04:00
Andrea Marchesini
8361d65005 Bug 871445 - patch 4 - DatAStore: permissions, owned/access, r=mounir, r=ehsan
--HG--
rename : dom/datastore/tests/file_app.template.webapp => dom/datastore/tests/file_app2.template.webapp
rename : dom/datastore/tests/test_revision.html => dom/datastore/tests/file_revision.html
2013-10-02 11:30:26 -04: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
Andrea Marchesini
c8ee86197c Bug 871445 - patch 2 - DataStore: basic functions, r=mounir, r=bent 2013-10-02 11:30:26 -04:00
Andrea Marchesini
e09904fb4c Bug 871445 - patch 1 - DataStoreService and getDataStores(), r=mounir, r=fabrice, r=ehsan
--HG--
rename : dom/apps/tests/file_app.sjs => dom/datastore/tests/file_app.sjs
rename : dom/apps/tests/file_hosted_app.template.webapp => dom/datastore/tests/file_app.template.webapp
2013-10-02 11:30:26 -04:00