Closed Bug 1990529 Opened 1 year ago Closed 1 year ago

storage.sync returns sanitized "An unexpected error occurred" error without logging the original error

Categories

(WebExtensions :: Storage, task, P3)

task

Tracking

(firefox145 fixed)

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: robwu, Assigned: robwu)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 external file)

While looking into bug 1989840, I noticed that on older Firefoxes a generic error was reported without the actual error being dumped to the console. This makes debugging difficult, and to see the actual error I had to put a breakpoint at https://searchfox.org/firefox-main/rev/6cd61ea1ff39887da8f4dc1080a96c01f0c70ef8/toolkit/components/extensions/ExtensionStorageSync.sys.mjs#78

With the fix at bug 1990313 (so Firefox no longer crashes), I expect the same issue (generic error being reported without more diagnostics) to happen.

Let's add some more logging.

Severity: -- → N/A
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: