No bug - Fix broken merge (976228f4aef7).
authorReuben Morais <reuben.morais@gmail.com>
Fri, 18 Oct 2013 09:34:52 -0300
changeset 165156 07db468de86e411fc7488c95c9ceb8549c8d7cd7
parent 165155 976228f4aef74c718611017c3becb143b1c4490c
child 165157 6150269410b2ddad02f99457a33d922e2e3784ad
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug - Fix broken merge (976228f4aef7).
dom/contacts/ContactManager.js
--- a/dom/contacts/ContactManager.js
+++ b/dom/contacts/ContactManager.js
@@ -175,20 +175,17 @@ function validateArrayField(data, create
       return target[name];
     }
   };
 
   if (data) {
     data = Array.isArray(data) ? data : [data];
     let filtered = [];
     for (let i = 0, n = data.length; i < n; ++i) {
-      let obj = data[i];
-      if (obj && isVanillaObj(obj)) {
-        filtered.push(createCb(obj));
-      }
+      filtered.push(createCb(data[i]));
     }
     if (filtered.length === 0) {
       return undefined;
     }
     return new Proxy(filtered, ArrayPropertyHandler);
   }
   return undefined;
 }