Closed Bug 731855 Opened 8 years ago Closed 8 years ago
Service .jsm not found at chrome/content/shell .js:19 when running desktop b2g client
When I run the desktop b2g client, I get no homescreen and the --jsconsole shows this error: Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://browser/content/shell.js :: <TOP_LEVEL> :: line 19" data: no] Line 19 of shell.js is: Cu.import('resource://gre/modules/ContactService.jsm'); Fabrice says he thinks it is a packaging issue.
According to http://mxr.mozilla.org/mozilla-central/source/dom/contacts/Makefile.in#27 we only package the jsm when building for gonk. Gregor, what's the best way to fix this? I understand we don't want to ship this with Firefox desktop, but we should enable it whenever we compile with --application=b2g
Attachment #602025 - Flags: review?(fabrice)
Attachment #602025 - Flags: review?(fabrice) → review+
the attachment fixes the problem for me.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.