Closed Bug 883162 Opened 13 years ago Closed 13 years ago

window.navigator.mozContacts.getSimContacts is not a function

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Bebe, Unassigned)

References

Details

gecko revision="64b502c512a059c58da80924968136713fe6f8c3" gaia revision="30f31d7dc5f81eb0c0e7980c44aad3b0a56f5a9c" running window.navigator.mozContacts.getSimContacts('ADN') with marionette returns JavascriptException: TypeError: window.navigator.mozContacts.getSimContacts is not a function stacktrace: GaiaDataLayer.getSIMContacts@chrome://marionette/content/marionette-listener.js:964 __marionetteFunc@chrome://marionette/content/marionette-listener.js:1866 TEST-UNEXPECTED-FAIL | test_import_contacts_from_sim.py TestImportContactsFromSIM.test_import_contacts_from_SIM | @chrome://marionette/content/marionette-listener.js:1866 ---------------------------------------------------------------------- This is working great on the other versions (v1-train and v1.0.1) this if failing in the gaia-UI-tests automation build Failing test: https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/tests/contacts/test_import_contacts_from_sim.py#L18 Failing js method: https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/atoms/gaia_data_layer.js#L114
This function moved in bug 847741.
Blocks: 847741
Thanks for Gregor point out. Hi, Florin, As Gregor mentioned in Comment 1, the function has already been moved to mozIccManager. Sorry we didn't notice Gaia-UI-Tests also used this function, so we didn't notice you then, sorry for the inconvenience.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.