Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion toolkit/mozapps/update/UpdateService.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ function areDirectoryEntriesWriteable(aDir) {
let items = aDir.directoryEntries;
while (items.hasMoreElements()) {
let item = items.nextFile;
if (!item.isWritable()) {
if (item && item.exists() && !item.isWritable()) {
LOG("areDirectoryEntriesWriteable - unable to write to " + item.path);
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion toolkit/mozapps/update/tests/marionette/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ tags = "os_integration"

["test_no_window_update_restart.py"]
run-if = [
"os == 'mac' && !enterprise", # Bug 2019348 - Test is failing and there is a "profile missing" window visible

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this missing profile window may likely have been fixed by bug 2024587

"os == 'mac'"
]
reason = "Test of a mac only feature"