Bug 815833 - Followup fix. r=bustage, a=blocking-basecamp
authorGregor Wagner <anygregor@gmail.com>
Thu, 29 Nov 2012 16:15:42 -0800
changeset 117244 13bb74c3367e6389d9293ca5c16c14c323e3053b
parent 117243 46925afbd1751a9dd67a76dd64d0a42e8346ee66
child 117245 73f5df67aa4991f206e5d9f1e89bcb28355e2705
push id1808
push userryanvm@gmail.com
push dateSun, 02 Dec 2012 04:00:44 +0000
treeherdermozilla-beta@2dc1cacc452f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, blocking-basecamp
bugs815833
milestone18.0
Bug 815833 - Followup fix. r=bustage, a=blocking-basecamp
dom/contacts/tests/test_contacts_basics.html
--- a/dom/contacts/tests/test_contacts_basics.html
+++ b/dom/contacts/tests/test_contacts_basics.html
@@ -470,47 +470,47 @@ var steps = [
       next();
     };
     req.onerror = onFailure;
   },
   function () {
     ok(true, "Retrieving by substring tel1");
     var options = {filterBy: ["tel"],
                    filterOp: "contains",
-                   filterValue: properties1.tel[1].value.substring(1,5)};
+                   filterValue: properties1.tel[1].value.substring(0,5)};
     req = mozContacts.find(options);
     req.onsuccess = function () {
       ok(req.result.length == 1, "Found exactly 1 contact.");
       findResult1 = req.result[0];
       ok(findResult1.id == sample_id1, "Same ID");
       checkContacts(createResult1, properties1);
       next();
     };
     req.onerror = onFailure;
   },
   function () {
     ok(true, "Retrieving by substring tel2");
     var options = {filterBy: ["tel"],
                    filterOp: "contains",
-                   filterValue: "7654"};
+                   filterValue: "9876"};
     req = mozContacts.find(options);
     req.onsuccess = function () {
       ok(req.result.length == 1, "Found exactly 1 contact.");
       findResult1 = req.result[0];
       ok(findResult1.id == sample_id1, "Same ID");
       checkContacts(createResult1, properties1);
       next();
     };
     req.onerror = onFailure;
   },
   function () {
     ok(true, "Retrieving by substring tel3");
     var options = {filterBy: ["tel"],
                    filterOp: "contains",
-                   filterValue: "876-5432"};
+                   filterValue: "98765432"};
     req = mozContacts.find(options);
     req.onsuccess = function () {
       ok(req.result.length == 1, "Found exactly 1 contact.");
       findResult1 = req.result[0];
       ok(findResult1.id == sample_id1, "Same ID");
       checkContacts(createResult1, properties1);
       next();
     };