Open Bug 1706013 Opened 3 years ago Updated 2 years ago

[QM_TRY] Failures in dom/quota/ActorsParent.cpp:CreateDirectoryMetadata

Categories

(Core :: Storage: Quota Manager, defect, P3)

defect

Tracking

()

People

(Reporter: jstutte, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

See Also: → 1704434
Severity: -- → S4
Priority: -- → P3

So we are able to open a new file for write, but the first write fails here (which btw is a generally untested case as of coverage data).

We fail because we did not write as much bytes as we wanted. Assuming that we use the write from nsFileStreamBase::Write, this situation seems not to be considered to be an error in the sense of NS_ErrorAccordingToNSPR().

But what can be the cause of not being able to write 8 bytes after successfully opening the file for write (so access should have been checked) but not having an error? The only thing that comes to my mind is NS_ERROR_FILE_NO_DEVICE_SPACE, but I really would have expected to see it then on the PR_Write call already.

Depends on: 1712582
You need to log in before you can comment on or make changes to this bug.