Open Bug 1604052 Opened 6 years ago Updated 3 years ago

browser.storage.local.set fails: ConstraintError: A mutation operation in the transaction

Categories

(WebExtensions :: Storage, defect, P3)

72 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: hihn.rainer, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Tried to use browser.storage.local.set like this:

browser.storage.local.set({
"reload":"reload",
"notification":"notification"
});

Actual results:

Got the error message:

ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. ExtensionStorageIDB.jsm:812
normalizeStorageError resource://gre/modules/ExtensionStorageIDB.jsm:812
method chrome://extensions/content/child/ext-storage.js:273
AsyncFunctionThrow self-hosted:702

Expected results:

browser storage should be modified - yet it wasn't.

Hello,

In order to confirm the issue, can you please provide the extension you used when you encountered the problem?

Thanks !

Flags: needinfo?(hihn.rainer)
Flags: needinfo?(hihn.rainer)

The priority flag is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Component: General → Storage
Flags: needinfo?(jmathies)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.