Closed Bug 924796 Opened 11 years ago Closed 11 years ago

Be more robust in the event trigger code when Gaia throws

Categories

(Core Graveyard :: DOM: Apps, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 910466

People

(Reporter: julienw, Unassigned)

Details

(Whiteboard: [julien's values: c=1, b=2])

We should surround the handleEvent call in [1] with a try/catch block.

[1] https://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.js#523

See the STR in Bug 923574
This type of "robustification" doesn't seem like the kind of thing we'd hold 1.2 for.  Please renom if you disagree or if I'm mis-interpreting what 1.2 should be at this point :)
blocking-b2g: koi? → ---
fwiw, I agree with Andrew.
FWIW I already added the try/catch block to bug 910466, so I am closing this one as a dup. Feel free to reopen it if you consider that there's extra work to do.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
As long as Bug 923574 is fixed we can let this one ride the train.

This one is more general too: will be able to recover from yet-unknown problems.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.