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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 C1/1.4 S1(20dec)

People

(Reporter: jsmith, Assigned: aus)

References

Details

Attachments

(1 file)

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.
Blocks: 945099
Assignee: nobody → aus
Status: NEW → ASSIGNED
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)
(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.
Attachment #8346896 - Flags: review?(fabrice) → review+
Keywords: checkin-needed
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
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C1/1.4 S1(20dec)
Will do! Thanks Ryan!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: