Cannot get FileInfo while doing structured clone
Categories
(Core :: Storage: IndexedDB, enhancement, P2)
Tracking
()
People
(Reporter: tt, Unassigned)
References
(Depends on 1 open bug)
Details
This is the follow-up bug for bug 1432133. Note that the patch there won't actually fix the problem, but just avoiding from crashing. We should somehow find the real issue inside.
We could keep understanding how many users dropping into this by the telemetry.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
I had a xpcshell test using a corrupted database to reproduce hitting this issue. The next step is that using manual created test to reproduce this. I guess we only need to put different file ids into table object_data and table file for creating the corrupted database.
My plan for this is to remove the idb folder as our first step.
I might need to call:
- QuotaClient::AbortOperations(aOrigin)
- Clear the idb folder
- QuotaClient::OnOriginClearCompleted(aOrigin)
Now, the first entry point where we found the issue is at:
https://searchfox.org/mozilla-central/rev/f372470e10c8cb0691681603a1d6324dee5b3b8a/dom/indexedDB/ActorsParent.cpp#8435
If it eventually goes to content process (DeserializeStructuredCloneFile), then we probably wants to call ClearOrigin or something like that on QMS.
Reporter | ||
Comment 3•5 years ago
|
||
I'm not actively working on this so drop the assignee.
Updated•2 years ago
|
Description
•