Closed Bug 1113844 Opened 10 years ago Closed 10 years ago

Error clicking on download notification

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(fennec37+)

RESOLVED FIXED
Firefox 37
Tracking Status
fennec 37+ ---

People

(Reporter: wesj, Assigned: Margaret)

References

Details

Attachments

(1 file, 1 obsolete file)

I'm seeing this when clicking on a download notification: I/Gecko (14114): ************************* I/Gecko (14114): A coding exception was thrown in a Promise resolution callback. I/Gecko (14114): See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise I/Gecko (14114): I/Gecko (14114): Full message: ReferenceError: id is not defined I/Gecko (14114): Full stack: DownloadNotifications.onClick/<@resource://gre/modules/DownloadNotifications.jsm:157:11 I/Gecko (14114): Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:870:23 I/Gecko (14114): this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:749:7 I/Gecko (14114): this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:691:37 I/Gecko (14114): I/Gecko (14114): ************************* W/GeckoConsole(14114): [JavaScript Error: "id is not defined" {file: "resource://gre/modules/DownloadNotifications.jsm" line: 157}]
tracking-fennec: --- → ?
Blocks: 901360
OS: Mac OS X → Android
Hardware: x86 → ARM
I'm having trouble reproducing this locally. It looks like this would only happen if you have a succeeded download that fails to launch with file.launch(): http://mxr.mozilla.org/mozilla-central/source/mobile/android/modules/DownloadNotifications.jsm#157 wesj, what kind of file were you trying to open?
Assignee: nobody → margaret.leibovic
Attachment #8540304 - Flags: review?(mark.finkle)
/r/1645 - Bug 1113844 - Fix parameters in showInAboutDownloads call Pull down this commit: hg pull review -r 5ba433ad66766a3932f275ef3ac2d5e5b8092e6d
Attachment #8540304 - Flags: review?(mark.finkle) → review+
I verified that this fix works locally by commenting out the file.launch() bit to force the showInAboutDownloads call. https://hg.mozilla.org/integration/fx-team/rev/86225c7d5bd0
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 37
does this need uplift anywhere?
Flags: needinfo?(wjohnston)
tracking-fennec: ? → +
(In reply to Kevin Brosnan [:kbrosnan] from comment #7) > does this need uplift anywhere? No, this was a regression from bug 901360.
tracking-fennec: + → 37+
Flags: needinfo?(wjohnston)
Attachment #8540304 - Attachment is obsolete: true
Attachment #8618941 - Flags: review+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: