KevinGrandon / Firefox-OS-Runtime

A Firefox plugin which has several API mocks for rapid development on FFOS.
Other
6 stars 2 forks source link

Basic Contacts mocking #8

Closed janjongboom closed 11 years ago

janjongboom commented 11 years ago

Get the contacts app to work in desktop FF as well. How nice. This requires mozilla-b2g/gaia#8712 to have landed as it exposes some timing issues in that app at the moment.

Very basic work so far, just needed something for @OlavHN to get started.

Please note that I only mocked mozContacts here, the other contact related APIs should work well in nightly I think.

KevinGrandon commented 11 years ago

This is great, and will land soon. My only question is - nightly definitely has a mozContacts object. Any idea why that doesn't appear to work?

janjongboom commented 11 years ago

Hmm, I'm checking this now in Aurora and Nightly and there navigator.mozContacts gives me undefined on a normal web page. What would be the problem there?

KevinGrandon commented 11 years ago

Thanks for the work on this, but we should be able to leverage the real mozContacts API now. Sorry I didn't look into it sooner.