On 10/22/2013 01:11 AM, Alive wrote:
> Hi b2g coders,
> 
> [JavaScript Error: "app is undefined" {file:
> "app://system.gaiamobile.org/js/attention_screen.js" line: 329}]
> [JavaScript Error: "runningApps[displayedApp] is undefined" {file:
> "app://system.gaiamobile.org/js/window_manager.js" line: 1351}]
> 
> If you find the error message above and your device can't boot up,
> it's caused by https://bugzilla.mozilla.org/show_bug.cgi?id=924032

No it's not the cause. I still see them on b2g-inbound + gaia master,
and they were here before I landed 924032 :

I/GeckoDump(16847): XXX FIXME : Got a mozContentEvent:
accessibility-screenreader
E/GeckoConsole(16847): [JavaScript Error: "TypeError: app is undefined"
{file: "app://system.gaiamobile.org/js/attention_screen.js" line: 329}]
E/GeckoConsole(16847): [JavaScript Error: "TypeError:
runningApps[displayedApp] is undefined" {file:
"app://system.gaiamobile.org/js/window_manager.js" line: 1351}]
I/Gecko   (16847): ###################################### forms.js loaded
I/Gecko   (16847): ###############################
browserElementPanning.js loaded
I/Gecko   (16847): ########################
BrowserElementChildPreload.js loaded
I/GeckoDump(16847): XXX FIXME : Got a mozContentEvent:
inputmethod-update-layouts

> Shortly, the patch in the bug changed the app launch event from gecko to
> gaia, now only on master + mc.
> 
> So if you're working on
> non-gaia-master + mozilla-central
> or
> gaia-master + non-mozilla-central
> Your device may not be able to boot up because app launch event is not
> dispatched or caught.
>
> If you don't want to wait until the patch is uplifted,
> Quick way to workaround this: 
> Revert gaia change
> in 
> https://github.com/mozilla-b2g/gaia/commit/2b10e0af4c96568a2726f09d17b549e6608f83ff
>  in
> your local side if you're using gaia-master. Or cherry-pick it if you're
> using gaia-v1.2 + mc.

In general, using mismatched combinations of gecko and gaia is not
supported. I would not spend time with workarounds since you may have
other issues and end up in an endless cherry-picking game (look at the
changes happening lately because of the webidl-ification of contacts).

        Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to