Open Bug 1561559 Opened 6 years ago Updated 6 months ago

Figure out why there are temporary body files on unexpected directory

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

People

(Reporter: tt, Unassigned)

Details

(Whiteboard: dom-lws-bugdash-triage)

Bugs and telemetry data show that temporary body files exist in origin directories, and idb directories (should only be under $origin/cache/morgue/). I wonder if there is a bug on DOM Cache.

I would probably check all the places in DOM cache implementation that call EnsureOriginIsInitialized or GetOriginDirectory. Maybe the returned nsIFile is used directly (without appending additional path to it).

Note that the body files on the unexpected directories I've seen are all in temporary format. ({$UUID}.tmp; Once the operation finish its work, the body file will be renamed to {$UUID}.final). I'm so sure if that matter, but that might reduce the scope for investigating.

Severity: normal → S3
No longer blocks: 1541373
Flags: needinfo?(hsingh)
Whiteboard: dom-lws-bugdash-triage

I had a quite thorough look into the code corresponding to this issue and I couldn't figure out how the user's profile could get into that state. Since, this is one off case I would suggest closing this issue cannot reproduce for now.

Flags: needinfo?(hsingh)
You need to log in before you can comment on or make changes to this bug.