[tor-browser#43258] Fixed LifeCycle error on update.
This commit is contained in:
parent
bdc3787d9d
commit
f9698a748f
|
@ -112,6 +112,7 @@ var LifeCycle = (() => {
|
|||
}));
|
||||
|
||||
try {
|
||||
const data = toBase64(new Uint8Array(cypherText));
|
||||
// random attribute name for DOM storage
|
||||
const attr = await sha256(data.concat(uuid()));
|
||||
|
||||
|
@ -133,7 +134,7 @@ var LifeCycle = (() => {
|
|||
try {
|
||||
stored = await Messages.send("store", {
|
||||
url,
|
||||
data: toBase64(new Uint8Array(cypherText)),
|
||||
data,
|
||||
attr,
|
||||
},
|
||||
{tabId, frameId: 0}
|
||||
|
|
Loading…
Reference in New Issue