Chris Peterson
009c1a2bcb
Bug 1129325 - Remove nonstandard let blocks from dom. r=mrbkap
2015-01-24 23:38:46 -08:00
Peter Van der Beken
dc3a33aa88
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
...
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Boris Zbarsky
bad2ee9b82
Bug 1117167. Make the generated implementation classes for JS-implemented bindings store an nsIGlobalObject, not an nsPIDOMWindow, so we can use them in sandboxes. r=peterv
2015-01-08 11:57:19 -05:00
Ehsan Akhgari
339580df7a
Bug 1118429 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/datastore; r=baku
2015-01-06 16:35:25 -05:00
Andrea Marchesini
8e36934a09
Bug 1057994 - DataStore should not dispatch runnables in a worker when it is shutting down, r=bent
...
--HG--
rename : dom/datastore/tests/file_basic_worker.html => dom/datastore/tests/file_worker_close.html
rename : dom/datastore/tests/test_basic_worker.html => dom/datastore/tests/test_worker_close.html
2014-12-17 14:49:36 +00:00
Boris Zbarsky
0b5767567b
Bug 1105615. Make IDBObjectStoreParameters.keyPath a union instead of using "any" for it. r=baku
2014-12-11 13:07:44 -05:00
Boris Zbarsky
3fd6202de4
Bug 990484 part 2. Remove a bunch of now-unnecessary JSContext bits in indexedDB code. r=baku
2014-12-11 13:07:44 -05:00
Kan-Ru Chen (陳侃如)
c57dcf090e
Bug 1059662 - Disallow OOP app to embed in-proc apps. r=fabrice
...
Some mochitest that use embed-apps in an oop context is disabled.
--HG--
extra : rebase_source : 72de2cdae86eb8d55e642529cd4aae0af97e4e96
2014-11-11 10:25:36 +08:00
Vaibhav Agrawal
9c782e9145
Bug 1083347 - Remove androidx86.json. r=gbrown
2014-10-22 11:51:00 -04:00
Andrea Marchesini
8b1d8b6c0c
Bug 1081143 - datastore-update-* events should be dispatched as broadcast messages, r=fabrice
2014-10-20 20:47:12 +01:00
Ben Turner
d081140cb0
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ehsan Akhgari
dee315315e
Bug 1072310 - Build more DOM code in unified mode; r=baku
...
--HG--
extra : rebase_source : a34dbc7323238d5f83a0144b62a6c52c3e6c54dc
2014-09-25 10:12:06 -04:00
Ben Turner
46d101f40c
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
1a91d40956
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Andrea Marchesini
1675ec52e7
Bug 1058108 - DataStore.get should support array with 0 elements, r=ehsan
...
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_bug1058108.html
2014-08-26 09:20:02 +01:00
Ted Clancy (:tedders1)
5089d86b4a
Bug 1000315 - Part 8: Various tests skip uninstall prompt. r=sicking
2014-06-12 09:53:54 -07:00
Sean Lin
c1aba63374
Bug 1014023 - [Datastore] Notify apps of changes in datastore without being opened. r=baku, r=gene
2014-06-27 15:58:47 +08:00
Ryan VanderMeulen
3ea3cf2a2f
Backed out changeset 3200ed3305db (bug 1014023) for causing bug 1051164.
2014-08-12 12:44:09 -04:00
Sean Lin
687f61d5f9
Bug 1014023 - [Datastore] Notify apps of changes in datastore without being opened. r=baku, r=gene
...
--HG--
extra : rebase_source : 66ba930797cfd67777ead9ec5e439d834d494233
2014-06-27 15:58:47 +08:00
Ryan VanderMeulen
a2f84cef77
Backed out changeset 90c9b3d8f5bf (bug 1014023) for intermittent Windows mochitest failures.
...
CLOSED TREE
2014-08-05 15:33:10 -04:00
Sean Lin
0d34f59084
Bug 1014023 - [Datastore] Notify apps of changes in datastore without being opened. r=baku, r=gene
2014-06-27 15:58:47 +08:00
Andrea Marchesini
9564759214
Bug 1031407 - DataStoreService doesn't need to use IDBCursor to know if a revision exists., r=janv
2014-08-03 15:48:19 +01:00
Ehsan Akhgari
2c640000a7
Bug 1047522 - Enable the rest of the data store tests; r=khuey
2014-08-01 19:08:23 -04:00
Sean Lin
5101141c0a
Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst
2014-07-17 11:53:23 +08:00
Ehsan Akhgari
2998fa51c1
Bug 974270 - Re-enable the majority of datastore tests on b2g; r=khuey
...
I have no idea what has fixed these tests, but the try server says
they are fixed. We always suspected that this is caused by a bug
in the mozapps code, and there has been some development there, and
elsewhere.
--HG--
extra : rebase_source : 2122a1016c3505b833d11b49cf63f79f117792e5
2014-07-25 15:07:44 -04:00
Boris Zbarsky
92fb7dde3a
Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley.
2014-07-18 21:31:11 -04:00
Chris Peterson
087c3ce78a
Bug 1036776 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_ASSERT_UNREACHABLE in dom. r=smaug
2014-06-29 23:10:56 -07:00
Benoit Jacob
18c3e0073a
Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan
2014-07-08 17:23:17 -04:00
Benoit Jacob
cb33a38711
Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan
2014-07-05 16:35:35 -04:00
Andrea Marchesini
02bcc35528
Bug 1030973 - DataStoreService should listen for versionchange events. r=janv
2014-06-26 14:09:00 +02:00
Chris Peterson
5d92f25884
Bug 1024322 - Replace calls to MOZ_ASSUME_UNREACHABLE that have crept back into dom. r=smaug
2014-06-20 22:42:45 -07:00
Jim Blandy
7e20285e70
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
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