Closed Bug 1010549 Opened 10 years ago Closed 10 years ago

DOMApplicationRegistry initialization dies on NS_ERROR_XPC_BAD_IID for nsISystemMessagesInternal

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)

32 Branch
ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: myk, Assigned: myk)

References

Details

(Keywords: regression, Whiteboard: [WebRuntime])

Attachments

(1 file)

DOMApplicationRegistry fails to complete initialization when an installed app has an activity to register, throwing:

 10353           GeckoConsole  E  [JavaScript Error: "A promise chain failed to handle a rejection.
 10353           GeckoConsole  E  Date: Wed May 14 2014 13:57:51 GMT-0700 (PDT)
 10353           GeckoConsole  E  Full Message: Component returned failure code: 0x80570018 (NS_ERROR_XPC_BAD_IID) [nsIJSCID.getService]" {file: "resource://gre/modules/Webapps.jsm" line: 116 column: 0 source: "116"}]

This is the statement that throws:

  return Cc["@mozilla.org/system-message-internal;1"]
         .getService(Ci.nsISystemMessagesInternal);

It happens because Fennec doesn't package dom_messages.xpt.  Here's the fix.
Attachment #8422732 - Flags: review?(wjohnston)
Attachment #8422732 - Flags: review?(wjohnston) → review+
https://hg.mozilla.org/mozilla-central/rev/74f812525f7d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: