Closed Bug 821998 Opened 12 years ago Closed 12 years ago

Installed web apps get stuck on splashscreen - do not finish loading

Categories

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

ARM
Android
defect
Not set
blocker

Tracking

(firefox20+ verified)

VERIFIED FIXED
Firefox 20
Tracking Status
firefox20 + verified

People

(Reporter: mcepl, Assigned: theo)

References

Details

(Keywords: regression, Whiteboard: A4A?)

Attachments

(3 files)

Attached file about:support data
I have number of apps installed from the Marketplace and suddenly with the current Nightly on Android (see about:support data attached) they don't start at all (tried Hesla, Twitter, Kohoutkova, openMarkers). All of them show the startup screen and that's it. The actual application doesn't show up.
Hmm, what about

E/GeckoConsole(18773): [JavaScript Warning: "test for equality (==) mistyped as assignment (=)?" {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/omni.ja!/components/nsDefaultCLH.js" line: 47 column: 60 source: "tDir = cmdLine.handleFlagWithParam("print-xpcom-dir", false)) {
E/GeckoConsole(18773): "}]
E/GeckoConsole(18773): [JavaScript Warning: "test for equality (==) mistyped as assignment (=)?" {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/omni.ja!/components/nsDefaultCLH.js" line: 62 column: 60 source: "                                                      false)) {
E/GeckoConsole(18773): "}]

Is really Gecko apps engine so delicate that it cannot handle some JavaScript typos? That's a bad news.
Is this bug reproducible after doing this multiple times?

Can you give exact steps to reproduce?
Flags: needinfo?(mcepl)
OS: Linux → Android
Hardware: x86_64 → ARM
Summary: Installed apps do not start from desktop → Installed web apps get stuck on splashscreen - do not finish loading
Version: unspecified → Trunk
Whiteboard: A4A?
I've been seeing this too. I think something changed and we're not getting the right state start/stop messages (i.e. we never show the throbber either).
Flags: needinfo?(mcepl)
More relevant log line is probably:

E/GeckoConsole(18773): [JavaScript Error: "ReferenceError: user_pref is not defined" {file: "chrome://browser/content/WebAppRT.js" line: 30}]

which is fallout from bug 737596.
Depends on: 737596
Severity: normal → blocker
tracking-fennec: --- → ?
Attached patch PatchSplinter Review
Ho, I'm really sorry guys :(

Can you please try again with this build? https://tbpl.mozilla.org/?tree=Try&rev=1de864f5e8da

If it's still not working, a quick temp fix could be:

pref("toolkit.telemetry.prompted", 2),
pref("toolkit.telemetry.notifiedOptOut", 2)
Attachment #692612 - Flags: review?(wjohnston)
Confirmed, my Twitter webapp is working again with this patch
(In reply to Théo Chevalier [:tchevalier] from comment #5)
> If it's still not working, a quick temp fix could be:
> 
> pref("toolkit.telemetry.prompted", 2),
> pref("toolkit.telemetry.notifiedOptOut", 2)

How can I set it up on my phone (sorry, I don't build my own FF)?
Attachment #692612 - Flags: review?(wjohnston) → review+
(In reply to Matej Cepl from comment #7)
> (In reply to Théo Chevalier [:tchevalier] from comment #5)
> > If it's still not working, a quick temp fix could be:
> > 
> > pref("toolkit.telemetry.prompted", 2),
> > pref("toolkit.telemetry.notifiedOptOut", 2)
> 
> How can I set it up on my phone (sorry, I don't build my own FF)?

You don't have to set up anything, just to download & install a try build here if you want to confirm: http://ftp-scl3.mozilla.com/pub/mozilla.org/firefox/try-builds/theo.chevalier11@gmail.com-1de864f5e8da/
(It worked for me)

Tommorrow's Nightly should be fine. Thanks for pointing this out, btw.

Pushed to inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c8a1314aa449
Assignee: nobody → theo.chevalier11
https://hg.mozilla.org/mozilla-central/rev/c8a1314aa449
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Verified fixed on mozilla-inbound
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
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

Creator:
Created:
Updated:
Size: