Closed
Bug 1125801
Opened 9 years ago
Closed 9 years ago
[Costcontrol] Javascript error on startup
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mai, Assigned: mai)
References
Details
Attachments
(1 file)
STR: 1. Launch Usage App 2. Look at logcat Expected: No errors: Actual: W/Usage ( 7415): [JavaScript Error: "TypeError: handlerContainer.contentWindow.setNextReset is not a function" {file: "app://costcontrol.gaiamobile.org/js/common.js" line: 15}]
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → marina.rodrigueziglesias
Assignee | ||
Comment 1•9 years ago
|
||
Hi Salva, would you mind reviewing the patch? The bug is produced because when the airplanemode_helper module is loaded, emit a state change event with the current state of the airplanemode. This event produces a second startup of the app. Regards
Attachment #8554516 -
Flags: review?(salva)
Comment 2•9 years ago
|
||
Comment on attachment 8554516 [details] [review] patch v1.0 Please, if the extra event is launched by the airplane helper, try to find the bug for this problem or file a new one and reference it in a comment in the solution. Try to clarify the variable name to point out you are ignoring this "extra" event. Thank you.
Attachment #8554516 -
Flags: review?(salva) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8554516 [details] [review] patch v1.0 Hi Salva, I've updated the pr with other approach to resolve the bug, would you mind reviewing the patch? Regards
Attachment #8554516 -
Flags: review+ → review?(salva)
Comment 5•9 years ago
|
||
Comment on attachment 8554516 [details] [review] patch v1.0 It's ok. Thank you for the fix!
Attachment #8554516 -
Flags: review?(salva) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Master: 030218825c246645ceb0d149274020ef05b443e8
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•