Depends on D103520
Details
- Reviewers
barret - Commits
- rMOZILLACENTRALaadba76932ea: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect…
rMOZILLACENTRAL91181a01b68c: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect…
rMOZILLACENTRALc7dd9e63300d: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect…
rMOZILLACENTRALc89276392499: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect…
rMOZILLACENTRAL4934ec1fbb6f: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect…
rMOZILLACENTRAL43f2f5614583: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect…
rMOZILLACENTRAL79484a596fa1: Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm r=barret - Bugzilla Bug ID
- 1649611
Diff Detail
- Repository
- rMOZILLACENTRAL mozilla-central
- Lint
Lint Not Applicable - Unit
Tests Not Applicable - Build Status
Buildable 282695 Build 375437: arc lint + arc unit
Event Timeline
| toolkit/components/downloads/test/unit/common_test_Download.js | ||
|---|---|---|
| 340 | @barret Rerequesting review for my changes to this test file. This comment here suggests that we do honor the umask value: https://searchfox.org/mozilla-central/rev/8d722de75886d6bffc116772a1db8854e34ee6a7/toolkit/components/downloads/DownloadIntegration.jsm#670, but I'm not sure we're doing that. The permissions can either be 0o400 or 0o666, so I'm not sure why this value is included in the test | |
| toolkit/components/downloads/test/unit/common_test_Download.js | ||
|---|---|---|
| 340 | The old version did respect the umask, the new one does not. IOUtils implementation uses nsIFile::SetPermissions() which does not respect umask: OS.File.setPermissions *does* respect umask: We should probably add an option to setPermissions to respect umask, defaulting to true | |
Code analysis found 1 defect in the diff 386048:
- 1 defect found by eslint (Mozlint)
You can run this analysis locally with:
- ./mach lint --warnings --outgoing
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.
Code analysis found 1 defect in the diff 386049:
- 1 defect found by eslint (Mozlint)
You can run this analysis locally with:
- ./mach lint --warnings --outgoing
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.
Hey @barret ! Missed this failure before - the windows zone information relies on winAllowLengthBeyondMaxPathWithCaveats. DownloadIntegration seems to be the only place that uses that arg, but I figured it may make more sense too add this to PathUtils. Requesting review for those changes :)
Code analysis found 1 defect in the diff 391628:
- 1 defect found by Coverity
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.
Code analysis found 1 defect in the diff 391718:
- 1 defect found by Coverity
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.
Code analysis found 1 defect in the diff 391748:
- 1 defect found by Coverity
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.
Code analysis found 1 defect in the diff 391786:
- 1 defect found by clang-tidy
You can run this analysis locally with:
- ./mach static-analysis check --outgoing (C/C++)
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.
Code analysis found 1 defect in the diff 392907:
- 1 defect found by clang-tidy
You can run this analysis locally with:
- ./mach static-analysis check --outgoing (C/C++)
If you see a problem in this automated review, please report it here.
You can view these defects on the code-review frontend and on Treeherder.