Open
Bug 1296825
Opened 8 years ago
Updated 2 years ago
fire observer topic and log to browser console when profile storage corruption is detected
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox51 | --- | affected |
People
(Reporter: bkelly, Unassigned)
References
(Blocks 1 open bug)
Details
After hitting the issue where I accidentally opened my profile in beta recently and upgraded my storage schemas, I think we should try to warn about this issue a bit more. Bug 1246615 is to provide a banner or other warning. There are some things we should do at the platform level first:
1) Lets notify a "profile-storage-corrupted" observer topic when we detect this kind of thing.
2) Lets log a message to the browser console with more detail about the corruption. (Schema number, unexpected file, etc.)
Bug 1246615 can then use the observer topic to know when to show its warning banner.
Reporter | ||
Comment 1•8 years ago
|
||
The main hassle here is often we detect this storage corruption on IO threads, but observer service and console reporting needs to take place on the main thread. I think we should add a helper to nsContentUtils or something to make it easy to trigger things.
Reporter | ||
Updated•8 years ago
|
Assignee: bkelly → nobody
Status: ASSIGNED → NEW
Updated•8 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•