Closed
Bug 1039048
Opened 11 years ago
Closed 11 years ago
EventDispatcher can eat errors
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 34
People
(Reporter: wesj, Assigned: bnicholson)
References
Details
Attachments
(1 file)
3.29 KB,
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
I had a NativeEventListener that was throwing something close enough to an IllegalArgumentException that the EventDispatcher was catching it here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/EventDispatcher.java#169
That lead to the EventDispatcher falling back to using non-Native listeners and complaining that none exist. We should log these errors here (I'm not sure that "type" comment is correct either), and bail if one of them throws (or better yet, don't catch them?)
Assignee | ||
Comment 1•11 years ago
|
||
So is this all we need?
Comment 2•11 years ago
|
||
Comment on attachment 8461770 [details] [diff] [review]
Don't eat IllegalArgumentExceptions in dispatchEvent
Review of attachment 8461770 [details] [diff] [review]:
-----------------------------------------------------------------
Yup, assuming it passes try.
Attachment #8461770 -
Flags: review?(nchen) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•