Closed Bug 802108 Opened 13 years ago Closed 13 years ago

[MozActivity] fails for OOP applications

Categories

(Core :: DOM: Core & HTML, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

()

VERIFIED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- fixed

People

(Reporter: dscravaglieri, Assigned: fabrice)

References

Details

(Keywords: unagi)

Attachments

(1 file)

E/GeckoConsole( 356): [JavaScript Error: "NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" {file: "resource://gre/modules/XPCOMUtils.jsm" line: 202}] E/GeckoConsole( 356): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Factory not registered" {file: "app://homescreen.gaiamobile.org/js/wallpaper.js" line: 20}]
Changeset: gecko: ea9b75a2d4836ac8cb018ee84043ad4b3c739fbf gaia: ac94981b4972a24df2e4e995922e6013672cc00b Can't send SMS from Contact. Can't call from Contact Can't launch Gallery from Camera. If Settings->Disable out-of-process is checked, everything works.
Severity: major → blocker
blocking-basecamp: --- → +
Priority: -- → P1
Component: DOM: Core & HTML → DOM: Mozilla Extensions
Fabrice, are you the right owner for this?
Probably, even if I could not reproduce that today. The error is really strange...
I'm able to reproduce on inbound as of a few hours ago with latest gaia. E/GeckoConsole( 105): Content JS LOG at app://communications.gaiamobile.org/contacts/js/contacts.js:457 in callOrPick: WebActivities unavailable? : [Exception... "Factory not registered" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: app://communications.gaiamobile.org/contacts/js/contacts.js :: callOrPick :: line 442" data: no]
Assignee: nobody → fabrice
Can we have someone from QA doing the regression window check?
Keywords: unagi
Whiteboard: [dogfooding-blocker]
Tested on unagi 10-17-2012 build: * BuildID=20121017083434 * gaia: efefbd0411 Tapping the phone icon: 10-17 11:36:07.439: E/GeckoConsole(472): Content JS LOG at app://communications.gaiamobile.org/contacts/js/contacts.js:457 in callOrPick: WebActivities unavailable? : [Exception... "Factory not registered" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: app://communications.gaiamobile.org/contacts/js/contacts.js :: callOrPick :: line 442" data: no] Tapping the message icon: 10-17 11:36:25.889: E/GeckoConsole(109): Content JS LOG at app://communications.gaiamobile.org/contacts/js/sms_integration.js:14 in si_sendSms: WebActivities unavailable? : [Exception... "Factory not registered" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: app://communications.gaiamobile.org/contacts/js/sms_integration.js :: si_sendSms :: line 10" data: no]
(In reply to Mounir Lamouri (:mounir) from comment #6) > Can we have someone from QA doing the regression window check? i think fabrice knows where the problem is. he's on it.
also, this is marked [dogfooding-blocker], but we can make an argument that OTA updates can fix this problem. Know that currently, the contacts app is useless if you're trying to trigger a web activity.
i don't think this is a blocker for dogfooding and it can be patched via updater when it's fixed.
Whiteboard: [dogfooding-blocker]
Attached patch patchSplinter Review
Indeed, loading in the content processs a jsm that is designed to run only in the parent was not a good idea. Now switching to the content safe version when needed. We already use the same code path in AppsService.js
Attachment #672501 - Flags: review?(anygregor)
Attachment #672501 - Flags: review?(anygregor) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
verified build info 2012-10-18 gaia master: 98498cb5803349b50637dc35640fc2235fee0499 mozilla-central : bbf233397549175223da3687bc5678d91685e54a
Status: RESOLVED → VERIFIED
Component: DOM: Mozilla Extensions → DOM
No longer blocks: 909255
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: