Commit Graph

117 Commits

Author SHA1 Message Date
Reuben Morais
96b07bbe7e Bug 951766 - Reintroduce mozContact.init method with a deprecation warning. r=julienw sr=smaug 2014-01-17 16:00:35 -02:00
Reuben Morais
85af203f89 Bug 946294 - Use cached sequences for array attributes in the Contacts interfaces. r=bz r=gwagner 2013-12-29 15:41:35 -02:00
Tom Schuster
9881e93085 Bug 949197 - Make Array#slice on COW arrays work again. r=bz f=bholley 2013-12-19 17:39:15 +01:00
Ben Kelly
b360849cf6 Bug 945948 - Part 2: Test contacts shutdown of cursors. r=reuben 2013-12-12 17:05:18 -05:00
Reuben Morais
5e70b6a8e0 Bug 906226 - Move shared test code to a single file. r=gwagner 2013-12-03 23:07:59 -02:00
Vendelin Ruzicka
bc27c1246d 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
Jan Varga
340148eccf 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
52bb79098d 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
Carsten "Tomcat" Book
32eb548902 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
df3a7a6432 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
Jan Varga
0d595eff6d 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
Reuben Morais
4c16b80dd1 Bug 935804 - Handle null and undefined correctly in mozContact field properties. r=bz 2013-11-07 01:26:25 -02:00
Reuben Morais
c2b2d76edf Bug 930241 - Use toJSON instead of jsonifier in the Contacts interfaces. r=gwagner
--HG--
extra : rebase_source : b19099dec587b7acc3a86e71928423b46b958e0e
2013-11-01 14:01:59 -02:00
Julien Wajsberg
1621e4e26d Bug 898337 - Split big test files in smaller files. r=gwagner, r=reuben 2013-10-30 18:35:40 +01:00
Julien Wajsberg
a19f11207c Bug 898337 - Contacts API does not allow to search by name field. r=gwagner, r=reuben 2013-10-30 18:35:27 +01:00
Reuben Morais
f4b61b927e Bug 932763 - Setting mozContact's array properties to an empty array should work. r=gwagner
--HG--
extra : rebase_source : bdc09f04d31e72fafce8b8ef5726d1d0288c8efd
2013-10-30 21:39:05 -02:00
Reuben Morais
430c8da48e Bug 929435 - Treat undefined as null in Contacts API strings. r=gwagner
--HG--
extra : rebase_source : a838d31f1d1f7fbff04bdebc865d2234a5e958d5
2013-10-30 21:16:45 -02:00
Reuben Morais
bf03045986 Backed out changeset 3e4f6dd35a2b (bug 932763) 2013-10-30 19:48:46 -02:00
Reuben Morais
d999ece7a4 Bug 932763 - Setting mozContact's array properties to an empty array should work. r=gwagner 2013-10-30 18:22:16 -02:00
Reuben Morais
8c9f2c3a6c Bug 850430 - Convert the Contacts API to WebIDL. r=bz r=gwagner
--HG--
extra : rebase_source : 9d7a645c0d2fb102d5d498fefebeb817a186720e
2013-10-17 18:29:56 -03:00
Gregor Wagner
48b155d4fa Bug 924378 - [Contacts API] Error in finding matching contacts for international number (00). r=bent 2013-10-16 11:22:16 -07:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Reuben Morais
ed748e4a00 Backed out 8 changesets (bug 916267, bug 850430) for mochitest failures 2013-09-30 01:44:06 -03:00
Reuben Morais
f81783fee6 Bug 850430 - Convert the Contacts API to WebIDL. r=bz r=gwagner 2013-09-29 22:22:34 -03:00
Jan Varga
23ce3971fb 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
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gregor Wagner
24c459b33b Bug 905927 - [Contacts API] fail in matching digits test. r=bent 2013-08-29 07:56:19 -07:00
Gregor Wagner
69ed0a290a Bug 907996 - Contacts: Fix error callbacks. r=reuben 2013-08-22 12:05:01 -07:00
Shane Tully
cdbcc38972 Bug 897924 - Part 1: Skip contacts tests on Android < 4.0. r=reuben 2013-08-20 09:31:20 -07:00
Shane Tully
64a0f16900 Bug 906004 - Skip contacts test not supported on Android. r=reuben
--HG--
extra : rebase_source : f91a29d32e8d26996ecc90429d5f473f0f5a42bd
2013-08-16 22:44:03 -07:00
Chris Peterson
9e70a3b067 Bug 897924 - Intermittent test_contacts_basics.html | No contacts after clear - got 124 (or 84), expected 0. r=cpeterson 2013-08-16 15:49:18 -07:00
Reuben Morais
826588e1b7 Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner 2013-08-12 21:58:38 -03:00
Kay Lee
88699bb48b Bug 851440 - Add more tests for contacts sorting. r=gwagner 2013-07-30 09:46:44 -04:00
Shane Tully
cac6f25810 Bug 889673 - Adapt Contacts Unit Tests for Android. CLOSED TREE. r=reuben
--HG--
extra : amend_source : 15338826405ad30caba9573b2cf934a19cca77fe
2013-07-18 15:29:00 -07:00
Michael Henretty
b411ff1019 Bug 890909 - [Contacts API] migration code problem when matching using the substringMatching pref (eg in Brazil). r=gwagner 2013-07-18 16:17:41 -04:00
Gregor Wagner
af8004c69b Bug 892497 - [contacts] the upgrade path is error-prone. r=bent 2013-07-15 10:16:33 -07:00
Shane Tully
16d948ef1f Bug 807688 - Add "key" field to the mozContact interface. r=gwagner sr=sicking 2013-06-14 10:15:57 -07:00
Gregor Wagner
13a679b1dd Bug 882777 - Contacts API: Fix Date and pref properties. r=reuben 2013-06-13 15:43:30 -07:00
Gregor Wagner
867e55f074 Bug 877302 - [Dialer] when searching for a number in contacts, display partial matches (matching the end of the number). r=bent, reuben 2013-06-13 15:00:23 -07:00
Gregor Wagner
a6004c8948 Bug 880644 - [SMS/MMS] Auto suggestions returning incorrect results. r=bent 2013-06-13 14:52:40 -07:00
Reuben Morais
3195761d68 Bug 832936 - Implement mozContacts.getCount. r=gwagner sr=sicking 2013-06-03 20:45:10 -07:00
Reuben Morais
029a94a7af Bug 869615 - Sanitize Contact properties everywhere, not just in init. r=bent
--HG--
extra : rebase_source : 25fd18299c15cee78dff008460c89e78ba60d842
2013-06-03 18:50:31 -07:00
Ben Kelly
132c8b76a2 Bug 874462 - Add "startsWith" filterOp. r=reuben
The "contains" filterOp in ContactsAPI currently implements a filter that
only matches the start of each value when filtering by fields other than
"tel". This behavior is desirable for some uses, but does not match the
"contains" keyword.

Therefore, add a "startsWith" filterOp in addition to the current "contains".
A warning is sent to console.warn() if "contains" is used for non-"tel"
operations. A separate bug will be written to fix "contains" to perform full
text search.
2013-06-03 13:30:39 -04:00
Reuben Morais
de25571156 Bug 877777 - Take into consideration entire givenName/familyName array when sorting contacts. r=bent
--HG--
extra : rebase_source : b5752c08613314fd206caf73921538094d86e670
2013-05-31 15:28:00 -07:00