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

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.

Thanks.
--
Alive C. Kuo, Front-end Engineer, FirefoxOS, MoCo. Taiwan, Taipei office.
[email protected]




_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to