Closed Bug 947406 Opened 11 years ago Closed 11 years ago

Package upload actor error when done

Categories

(DevTools Graveyard :: WebIDE, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: jryans, Assigned: jryans)

Details

Attachments

(1 file)

The PackageUploadActor currently attempts to return an OS.File promise in response to the "done" message type, causing this error:

DBG-SERVER: error occurred while processing 'done: TypeError: aResponse is undefined
Stack: DSC_onPacket/response<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js:1038
resolve@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/core/promise.js:118
Handler.prototype.process@resource://gre/modules/Promise.jsm:767
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm:531

The error is harmless as everything installs fine.
Comment on attachment 8343951 [details] [diff] [review]
Don't return promise when done with package upload

Review of attachment 8343951 [details] [diff] [review]:
-----------------------------------------------------------------

Ooops... Thanks for covering my back ;)
Attachment #8343951 - Flags: review?(poirot.alex) → review+
https://hg.mozilla.org/mozilla-central/rev/c1b0d554713f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: