From 686f524d7967ab72e2eb9fb5fd9845c17759f526 Mon Sep 17 00:00:00 2001 From: Yoshi Huang Date: Tue, 19 Mar 2013 10:31:03 +0800 Subject: [PATCH] Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner --- dom/contacts/tests/marionette/test_sim_contacts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/contacts/tests/marionette/test_sim_contacts.js b/dom/contacts/tests/marionette/test_sim_contacts.js index 420c10865f21..ab4fda1e687a 100644 --- a/dom/contacts/tests/marionette/test_sim_contacts.js +++ b/dom/contacts/tests/marionette/test_sim_contacts.js @@ -20,6 +20,8 @@ function testImportSimContacts() { request.onsuccess = function onsuccess() { let simContacts = request.result; + is(Array.isArray(simContacts), true); + // These SIM contacts are harded in external/qemu/telephony/sim_card.c is(simContacts[0].name, "Mozilla"); is(simContacts[0].tel[0].value, "15555218201");