Closed
Bug 931514
Opened 12 years ago
Closed 11 years ago
JavaScript Error: currentCard.addEventListener is not a function
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zcampbell, Assigned: julienw)
References
Details
Attachments
(1 file)
E/GeckoConsole( 139): [JavaScript Error: "TypeError: currentCard.addEventListener is not a function" {file: "app://system.gaiamobile.org/js/cards_view.js" line: 542}]
STR:
0. Setup logcat/logging
1. Open an app
2. Open cards view
3. Kill the app
4. Observe the logcat
Hamachi
Gecko http://hg.mozilla.org/mozilla-central/rev/5a9ac6fed6ff
Gaia 15c1089aea0490b9b73bc915b1495b3faa1b023c
BuildID 20131025040252
Version 27.0a1
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 2•12 years ago
|
||
Turns out the JS error is a separate issue, so reopening.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 3•11 years ago
|
||
I see this several times a day and it makes me crazy. So here is a patch :)
STR:
* launch SMS
* long press home
* kill SMS by swiping up (it must be the last app)
I don't know if that happens when we kill with the cross, I bet it is too, but this is the STR I do several times a day :)
Assignee: nobody → felash
Attachment #8379745 -
Flags: review?(alive)
Comment 4•11 years ago
|
||
Hi Julien! I think this is fixed in my PR for bug 939809.
Depends on: 939809
Comment 5•11 years ago
|
||
Commit: https://github.com/mozilla-b2g/gaia/commit/91a572e0fb84a12e7499a718dd7e50192a62a442
Let me know if this fixes the problem. If not, Julien, hopefully rebasing won't be too painful. :(
| Assignee | ||
Comment 6•11 years ago
|
||
Heh too bad I looked at it the very day you finished your work :)
I'm removing the review request until I check.
| Assignee | ||
Updated•11 years ago
|
Attachment #8379745 -
Flags: review?(alive)
Comment 7•11 years ago
|
||
It's still happening on trunk:
E/GeckoConsole( 142): [JavaScript Error: "TypeError: currentCard.addEventListener is not a function" {file: "app://system.gaiamobile.org/js/cards_view.js" line: 569}]
| Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8379745 [details] [review]
github PR
Rebased and requesting review again.
I went ahead and did a failing test too!
I don't understand why we have so many setTimeout(done) whereas using sinon.clock.tick() could work... but I didn't even needed this for my patch anyway.
Attachment #8379745 -
Flags: review?(alive)
Updated•11 years ago
|
Attachment #8379745 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 9•11 years ago
|
||
master: 0dde42761b40cdb21079ff82f703fa60b7785110
thanks!
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•