Open Bug 1336730 Opened 9 years ago Updated 3 years ago

Rewrite test_PrivateTemp.js

Categories

(Toolkit :: Downloads API, defect, P5)

defect

Tracking

()

People

(Reporter: sparky, Unassigned)

References

Details

Attachments

(1 file)

test_PrivateTemp.js fails when code coverage is being collected with the devtools js debugger coverage collector through the xpcshell test suite on the linux64-jsdcov build. Error: TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_PrivateTemp.js | xpcshell return code: 0 TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_PrivateTemp.js | test_private_temp - [test_private_temp : 23] 511 == 448
Blocks: 1301197
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Security → Downloads API
Product: Core → Toolkit
Priority: -- → P5
The approach in bug 377630 works but isn't necessarily the best, anyways test_PrivateTemp.js isn't testing what it is supposed to, because the objects in this test suite are mocked. Ideally we should unify all code paths as bug 929391 suggests, but it's not that easy as it requires making the operation asynchronous. I'm disabling the test in bug 1411979 and using this bug to track re-writing.
Blocks: 377630, 1411979
Summary: test_PrivateTemp.js fails when collecting code coverage on linux64-jsdcov. → Rewrite test_PrivateTemp.js
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: