зеркало из https://github.com/mozilla/gecko-dev.git
Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner
This commit is contained in:
Родитель
fa51d10732
Коммит
686f524d79
|
@ -20,6 +20,8 @@ function testImportSimContacts() {
|
||||||
request.onsuccess = function onsuccess() {
|
request.onsuccess = function onsuccess() {
|
||||||
let simContacts = request.result;
|
let simContacts = request.result;
|
||||||
|
|
||||||
|
is(Array.isArray(simContacts), true);
|
||||||
|
|
||||||
// These SIM contacts are harded in external/qemu/telephony/sim_card.c
|
// These SIM contacts are harded in external/qemu/telephony/sim_card.c
|
||||||
is(simContacts[0].name, "Mozilla");
|
is(simContacts[0].name, "Mozilla");
|
||||||
is(simContacts[0].tel[0].value, "15555218201");
|
is(simContacts[0].tel[0].value, "15555218201");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче