Closed
Bug 402360
Opened 18 years ago
Closed 17 years ago
Pausing downloads that haven't started shouldn't debug assert
Categories
(Toolkit :: Downloads API, defect)
Toolkit
Downloads API
Tracking
()
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: Mardak, Assigned: Mardak)
Details
Attachments
(1 file, 1 obsolete file)
|
4.27 KB,
patch
|
Details | Diff | Splinter Review |
We have a NS_NOTREACHED that will assert for debug builds which can cause problems with xpcshell testcases.
NS_NOTREACHED("We don't have a resumable download or a request to suspend??");
| Assignee | ||
Comment 1•18 years ago
|
||
Remove the NOTREACHED and update comments. + testcase!
But some reason it prints out other stuff before PASS..
../../../../_tests/xpcshell-simple/test_dm/unit/test_bug_402360.js: mozilla/trunk/mozilla/tools/test-harness/xpcshell-simple/test_all.sh: line 127: 1003 Abort trap NATIVE_TOPSRCDIR="$native_topsrcdir" TOPSRCDIR="$topsrcdir" $xpcshell -s $headfiles -f $t $tailfiles 2>$t.log 1>&2
PASS
| Assignee | ||
Comment 2•18 years ago
|
||
Actually.. throw in the test for resume for good measure.
The one iffy thing about this is that we rely on pause/resume to happen before the ProgressChange.
Attachment #287237 -
Attachment is obsolete: true
Attachment #287239 -
Flags: review?(comrade693+bmo)
Attachment #287237 -
Flags: review?(comrade693+bmo)
Comment 3•18 years ago
|
||
yeah, that means it actually failed. Do a check-interactive to get more output as to what's wrong.
Comment 4•18 years ago
|
||
Attachment #287239 -
Flags: review?(comrade693+bmo)
| Assignee | ||
Comment 5•17 years ago
|
||
Fixed by bug 410289.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•