Closed
Bug 948287
Opened 11 years ago
Closed 11 years ago
[Download API] Accessing startTime attribute at download start fires NS_ERROR_UNEXPECTED in emulator
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 C1/1.4 S1(20dec)
People
(Reporter: jsmith, Assigned: aus)
References
Details
Attachments
(1 file)
1.07 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
Run the mochitest from bug 945099 with this bug#'s code uncommented. You'll notice that accessing the startTime attribute will fire NS_ERROR_UNEXPECTED during the test. Fabrice thinks this is a failure to initialize this object when creating the download object.
Reporter | ||
Updated•11 years ago
|
Blocks: fxos-download-mgr
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → aus
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
This fixes the issue on both desktop and emulator. Also to be noted is that there are tests that verify that this is fixed but they are part of a different bug (bug #945099).
Attachment #8346896 -
Flags: review?(fabrice)
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Ghislain 'Aus' Lacroix from comment #1)
> Created attachment 8346896 [details] [diff] [review]
> bug948287-dom-downloads-startTime-attribute.diff
>
> This fixes the issue on both desktop and emulator. Also to be noted is that
> there are tests that verify that this is fixed but they are part of a
> different bug (bug #945099).
Well, there are tests for this, but we need uncomment the code in that mochitest to ensure this is covered by mochitests.
Updated•11 years ago
|
Attachment #8346896 -
Flags: review?(fabrice) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Also, please make sure your future patches have commit information included. Makes life much easier for thos landing on your behalf :) Thanks!
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C1/1.4 S1(20dec)
Assignee | ||
Comment 6•11 years ago
|
||
Will do! Thanks Ryan!
Comment 7•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•