Closed Bug 744740 Opened 13 years ago Closed 13 years ago

mozSms.getMessages - none of the MozSmsRequest callbacks gets called

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: etienne, Unassigned)

References

Details

When doing a navigator.mozSms.getMessages in the Gaia SMS app. Neither onsuccess nor onerror gets called. The log looks like this: I/Gecko ( 4653): SmsDatabaseService: Creating a message list. Filters: startDate: null endDate: null delivery: null numbers: null reverse: true I/Gecko ( 4653): SmsDatabaseService: ensureDB: already have a database, returning early. I/Gecko ( 4653): SmsDatabaseService: Started transaction [object IDBTransaction] of type readonly I/Gecko ( 4653): SmsDatabaseService: Retrieving object store sms E/GeckoConsole( 4653): Content JS LOG at http://sms.gaiamobile.org/js/sms.js:9 in mm_getMessages: *** sent an smsdb request -- [object MozSmsRequest] I/Gecko ( 4653): SmsDatabaseService: Transaction [object IDBTransaction] completed.
Blocks: 712809
Component: General → DOM: Device Interfaces
Product: Boot2Gecko → Core
QA Contact: general → device-interfaces
FYI the whitelist pref looks like is: user_pref("dom.sms.whitelist","http://sms.gaiamobile.org,http://homescreen.gaiamobile.org"); Same result with a simpler pref like this; user_pref("dom.sms.whitelist","http://sms.gaiamobile.org");
I can't reproduce the issue anymore after starting from a fresh profile.
(In reply to Etienne Segonzac from comment #2) > I can't reproduce the issue anymore after starting from a fresh profile. Cool. Please resolve the bug next time, thanks!
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.