Closed Bug 888051 Opened 13 years ago Closed 8 years ago

B2G has no slow script dialog for apps

Categories

(Firefox OS Graveyard :: Gaia::System, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:-)

RESOLVED WONTFIX
tracking-b2g -

People

(Reporter: vlad, Unassigned)

Details

(Keywords: perf, Whiteboard: [c= p= s= u=])

Right now, if a b2g app happens to have js that would trigger the slow script warning, the result is that *it stops executing* and you *have no idea why*. If Ehsan had not remembered running into this a long time ago, we would still be here debugging app startup and blaming it on the JS engine. I see all sorts of bugs like bug 821980, bug 820443, bug 817230 that are related, but I have no idea if those apply to apps. Note that this is with gecko and gaia master, I don't know what the situation is on b2g18.
Component: Gaia → Gaia::System
Keywords: perf
Whiteboard: [c= p= u= s=]
ping -- we should either make script execution time for apps infinite, or we should add a slow script dialog. There's no reason to not make it infinite IMO; the user can always hit the home button and kill the app.
Vlad, since bug 821980, bug 820443, and bug 817230 have all been resolved is this still an issue?
Flags: needinfo?(vladimir)
Whiteboard: [c= p= u= s=] → [c= p= s= u=]
Priority: -- → P2
Ehsan, can you confirm if this is still an issue?
Flags: needinfo?(vladimir) → needinfo?(ehsan)
I don't really have enough time to do that, sorry. Anyone should be able to test this on their device by running a small test app which runs |while(true);|.
Flags: needinfo?(ehsan)
tracking-b2g: --- → -
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.