Граф коммитов

213 Коммитов

Автор SHA1 Сообщение Дата
Ben Turner 36818ba16c Bug 980549 - Simplify SettingsManager transaction management, r=gwagner.
--HG--
extra : rebase_source : 9378c05ec7a5de6f4f692680f2d4aa08b0d32957
2014-05-06 14:14:23 -07:00
Gregor Wagner cff45b5a89 Bug 999572 - Fix settingsService usage in NetworkGeolocationProvider.js. r=bent 2014-04-23 14:16:24 -07:00
Kyle Huey 52e66a793b Bug 993203: Add a memory reporter to count SettingsManager observers. r=njn 2014-04-08 16:37:09 -07:00
Ehsan Akhgari b2152e6617 Bug 986475 - Remove the classinfo from SettingsService and SettingsServiceLock; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-22 09:56:17 -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 1dd6d7f149 Bug 971132 - B2G mochitests should use the new manifest format [directories]; r=jmaher 2014-03-06 13:42:45 -05:00
Gregor Wagner c7979a71c3 Bug 974100 - Don't expose SettingsService in non b2g builds. r=bent 2014-02-19 10:26:49 -08:00
Sam Joch 02bac5e79f Bug 968215 - SettingsService needs to have a callback when transaction are completed. r=bent 2014-02-07 12:19:58 +01:00
Gregor Wagner cd927491a2 Bug 966899 - Rocketbar is not enabled after OTA update. Bump settingsDB version to read settins.json. r=bent 2014-02-06 10:27:04 +01:00
Fabrice Desré 0b097b1807 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Gregor Wagner 9eefa26946 Bug 921721 - NS_ERROR_UNEXPECTED in airplane_mode.js when restarting B2G. r=bent 2013-11-01 07:54:21 -07:00
Ms2ger 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley 18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley 53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc 0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02: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
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Fabrice Desré 470094f7f6 Bug 806374 - Don't store phone's wallpaper or the dialer ringtone or the notification ringtone as a data: URI in the settings DB r=gwagner 2013-08-11 08:41:59 -07:00
Reuben Morais 2b95f975e5 Bug 898512 - Tests for navigator.mozSettings behavior. r=gwagner 2013-08-06 10:59:25 -03:00
Ryan VanderMeulen a9dc22711a Backed out changesets be79c6478634 and 84530975d22f (bug 898512) for B2G mochitest-4 failures. 2013-08-05 13:37:13 -04:00
Reuben Morais 738263a62b Bug 898512 - Tests. r=bz 2013-08-05 15:09:20 +02:00
Reuben Morais a1a8e52ed5 Bug 894964 - Stop throwing on navigator.mozSettings access if the page does not have settings permission. r=gwagner
--HG--
extra : rebase_source : 1f6432f6ae1729d2f97cd833a3c5882ee8cc3a4e
2013-07-17 13:32:39 -07:00
Reuben Morais ea38b25c81 Bug 889503 - Move Settings API to WebIDL. r=gwagner r=bz
--HG--
extra : rebase_source : 9f858f389b71344353658d4ed49996e0d90b8b99
2013-07-15 18:17:46 -07:00
Ms2ger 6f877caab6 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Mike Shal 87c2fdb386 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (conversion part 1); r=joey
From 69c3338a3287ff8cc97533e06069fc4d4cb7c5f6 Mon Sep 17 00:00:00 2001
2013-06-10 12:08:47 -04:00
Joey Armstrong e3210c223f bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
Reuben Morais 6709994c28 Bug 877003 - Convert TestSettingsAPI.cpp to a mochitest-chrome. r=fabrice
--HG--
extra : rebase_source : d338fc0222346f4ddd043b32d43462c6365f16f5
2013-05-31 15:28:46 -07:00
Reuben Morais e0755bb254 Backout f2d4762e07f9 for mochitest-other failures 2013-05-31 17:37:52 -07:00
Reuben Morais bfafcce223 Bug 877003 - Convert TestSettingsAPI.cpp to a mochitest-chrome. r=fabrice
--HG--
extra : rebase_source : c8807e7651ad1493008832345a74b82da4c6333c
2013-05-31 15:28:46 -07:00
Gregor Wagner 696c13ed02 Bug 872983 - event.settingValue in mozSettings.onsettingchange gives wrong value. r=fabrice 2013-05-31 11:42:10 -04:00
Reuben Morais 40a7cc78b2 Bug 862353 - Only enable mozSettings in B2G and mochitests. r=gwagner
--HG--
extra : rebase_source : 2b079aa6aca6a65516670cc5adcccf422b5e0261
2013-05-13 18:32:09 -07:00
Reuben Morais eab1b226e3 Bug 862247 - Fix Contacts/Settings tests not running individually. r=gwagner
--HG--
extra : rebase_source : c9048a4680383576f329c4dcfb139a8e05633076
2013-04-16 14:01:13 +02:00
Gregor Wagner f3233c0932 Bug 859601 - mozSetting API - return undefined if the API is unsupported on the platform, not null. r=bent 2013-04-11 20:40:44 -07:00
Reuben Morais d13edbaf26 Bug 858837 - Clean Contacts/Permissions/Settings build config files. r=khuey r=gwagner
--HG--
extra : rebase_source : 15b1a3b477975a29c2ed36d288cf8e75fdfcbdc4
2013-04-05 16:12:31 -07:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Reuben Morais 3b43d6003c Bug 854514 - Don't import SettingsChangeNotifier.jsm if the mozSettings pref is enabled. r=gwagner 2013-03-26 16:49:12 -07:00
Reuben Morais 807a748b11 Bug 821630 - Fix retrieving blobs with get() in Settings API. r=gwagner 2013-03-11 22:31:15 -07:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Reuben Morais e4e518e0f3 Bug 849616 - Use ObjectWrapper.jsm instead of __exposedProps__ in Settings API. r=gwagner
--HG--
extra : rebase_source : b6f492515c0735e8d16fb3f9e903389b09ae3943
2013-03-11 22:31:19 -07:00
Reuben Morais 55e5d71b15 Backed out changeset e56f3e0f00d9 (Bug 821630) for B2G mochitest failures 2013-03-12 02:14:46 -07:00
Reuben Morais 87079a3d76 Bug 821630 - Fix retrieving blobs with get() in Settings API. r=gwagner 2013-03-11 22:31:15 -07:00
Gregory Szorc 45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc a0e24e2250 Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Bobby Holley 07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Reuben Morais 24db28157f Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner 2013-01-30 18:03:46 -08:00
Reuben Morais c32d0a6ca9 Bug 793239 - SettingsLock should have a state property to indicate if it is still valid; r=gwagner 2013-01-15 22:32:49 -05:00
Ehsan Akhgari 6002e1ea4a Backed out changeset 89942aa8ae6a (bug 793239) because of mochitest-3 failure 2013-01-15 20:48:34 -05:00
Reuben Morais 1833ad56d2 Bug 793239 - SettingsLock should have a state property to indicate if it is still valid. r=gwagner 2013-01-15 16:32:15 -08:00
Gregor Wagner 46a329cd92 Bug 827499 - SettingsService: Fix locking problem. r=bent 2013-01-08 12:04:25 +01:00
Gregor Wagner 899c9a92bb Bug 821814 - Followup: disable debug flag. r=me 2013-01-07 16:16:17 +01:00
Gregor Wagner 5e98bfb6a2 Bug 827237 - Wifi: ap list in settings is empty. r=bent 2013-01-07 15:03:26 +01:00
Gregor Wagner 0369a1789a Bug 821814 - Followup to disable debug flag. r=me 2013-01-07 10:18:05 +01:00
Gregor Wagner 9e5ffb8cc2 Bug 821814 - Settings: upgrade settings DB after settings.json changed. r=bent 2013-01-04 16:04:28 -08:00
Gregor Wagner aeef591b0c Bug 821510 - Settings: remove debug statements. r=sicking 2012-12-14 10:20:16 -08:00
Gregor Wagner 53230f5ec7 Bug 821484 - ASSERTION: mDone shouldn't have been set to true already!: '!mDone', file dom/base/DOMRequest.cpp, line 113. r=sicking 2012-12-13 16:46:13 -08:00
Gregor Wagner 593558cfce Bug 814153 - Need additional security checks for the "settings" permission. r=bent 2012-11-29 14:23:55 -08:00
Gregor Wagner 0007c3409d Bug 815398 - Settings: set navigator.mozSettings to null if we don't have read or write permission. r=bent 2012-11-26 15:33:34 -08:00
Gregor Wagner 5e3cfff15b Bug 807779 - [settings] allow readonly transactions. r=bent 2012-11-01 14:31:29 -07:00
Gregor Wagner 2a2e8cf318 Bug 776668 - Split permission for Settings/Contacts access into ReadOnly and ReadWrite variants. r=ddahl 2012-10-31 17:26:05 -07: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
Vivien Nicolas 54f25669e1 Bug 802063 - [Settings] Won't remember the Data Connection status after reboot. r=gwagner 2012-10-25 15:02:15 +02:00
Fabrice Desré fd7ac95056 Bug 790849 - Don't store information in /data about built-in apps before first startup - Move settings db out of prebuild files. [r=gwagner] 2012-10-06 22:15:25 -07:00
Gregor Wagner f869e2715c Bug 793361 - Apps, SystemMessages: free message manager references for killed children. r=fabrice 2012-10-01 13:29:59 -07:00
Gregor Wagner 4126c5cbd6 Bug 777200 - SettingsChangeNotifier should only notify processes with settings-change listeners. r=fabrice 2012-09-26 14:10:32 -07:00
Bobby Holley a25701a3f7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Gregor Wagner 63dca591ca Bug 791799 - Settings: Remove mozSettings.getLock. r=fabrice 2012-09-19 10:21:30 -07:00
Gene Lian 9dd6397434 Bug 788076 - Settings API: Need to notify content processes about the settings changes when calling SettingsService.set() from chrome process. r=gwagner 2012-09-18 22:29:26 +08:00
Gregor Wagner aa2e534506 Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Gene Lian bf14dd20ba Bug 785298 - Settings API: set() can carry a customized message to notify "mozsettings-changed" observers. r=gwagner 2012-08-31 15:37:43 +08:00
Gregor Wagner ab6d35973e Bug 786814 - Don't overwrite indexeddb in SettingsService. r=bent 2012-08-29 17:55:36 -03:00
Gregor Wagner 7dc60f4cf1 Bug 785233 - Don't overwrite indexeddb property. r=mrbkap 2012-08-29 15:52:48 -03:00
Philipp von Weitershausen d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Bobby Holley 7acdfeb9a2 Bug 781521 - Fix Settings API. r=gwagner 2012-08-14 20:54:33 -07:00
Gregor Wagner 9f556de8de Bug 779331 - Settings API: new permissions. r=mrbkap 2012-08-07 16:22:24 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gregor Wagner ce0aa8bd3f Bug 778027 - [Settings API] addObserver & onsettingchange quirks. r=sicking 2012-07-30 13:52:51 -07:00
Gregor Wagner bc37132f74 Bug 777810 - MOZSETTINGS-SET-WARNING: _____ is not in the database. Please add it to build/settings.js. r=dougt 2012-07-26 12:15:47 -07:00
Mounir Lamouri a2e303064e Bug 772050 - Remove 'classInfo' from AppsService and SettingsService. r=gwagner 2012-07-18 07:58:02 -07:00
Mounir Lamouri 7f510a666c Bug 769621 - Checking Contacts, Settings, Wifi and WebApps permission should use principal instead of URI. r=sicking 2012-07-16 08:44:52 -07:00
Gregor Wagner 2c31655232 Bug 772127 - Run Contacts and Settings API tests on desktop. r=sicking 2012-07-11 10:41:40 -07:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Kyle Machulis fc5a5e47a2 Bug 769785 - Settings API breaks due to IndexedDB Prefix change; r=khuey 2012-06-29 13:53:41 -07:00
Kyle Huey a95bd67fe9 Bug 726378: Followup to fix orange make check. r=me 2012-06-29 11:49:29 -07:00
Gregor Wagner 89b39c1e51 Bug 766379 - Settings API: Add warning if we get or set a non-existing setting. r=fabrice 2012-06-20 12:56:23 -07:00
Gregor Wagner 8f68c57a62 Bug 764003 - Remove enablePrivilege calls from settings and contacts API tests. r=bent 2012-06-12 11:13:11 -07:00
Michael Wu c76fdd881b Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Christoph Kerschbaumer 5f29728778 Bug 762128 - JavaScript Error: "cpmm is null" {file: "file:///Volumes/mac/code/2/build/dist/B2GDebug.app/Contents/MacOS/components/SettingsManager.js" line: 277. r=fabrice 2012-06-07 15:10:14 -07:00
Gregor Wagner a81311f31e Bug 757614 - Settings API: allow to observe a single setting. r=sicking 2012-06-07 14:23:55 -07:00
Vivien Nicolas 74709eea2c Bug 760100 - mozSettings throw a __exposedProps__ warning when returning a result. r=gwagner 2012-06-06 14:19:33 +02:00
Christoph Kerschbaumer b06853949d Bug 753862 - Settings API: electrolysis support. r=fabrice 2012-06-04 16:12:24 -07:00
Philipp von Weitershausen 2f381d2017 Bug 758486 - Settings API: make debug output a bit more useful. r=gwagner 2012-05-25 10:37:45 -07:00
Gregor Wagner 790e9f62b6 Bug 757599 - Settings API: add test for closed lock. r=sicking 2012-05-22 18:18:56 -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 bc17675f66 Bug 743336 - Settings API: Add service. r=fabrice 2012-04-27 16:21:31 -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
Vivien Nicolas e195451908 Bug 742765 - this._indexedDB is undefined in SettingsManager.js. r=gwagner 2012-04-11 10:05:35 -07:00
Philipp von Weitershausen 8d1082a882 Bug 734018 - Don't patch DOMRequestService into Services.jsm. r=gavin,fabrice 2012-04-11 13:55:54 +08:00
Gregor Wagner d8af3e1c29 Bug 740968 - Cleanup SettingsManager.js. r=fabrice 2012-03-30 14:26:59 -07:00
Vivien Nicolas 98e1ef24fd Bug 739680 - onsettingchange is not called when the setting is changed inside another window r=fabrice 2012-03-27 12:04:16 -07:00
Gregor Wagner ec045e370f Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00