[mv3] Fix bad test re. managed storage

This commit is contained in:
Raymond Hill 2024-06-28 13:39:38 -04:00
parent 896737d098
commit 57ed293760
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -107,7 +107,7 @@ export async function sessionWrite(key, value) {
export async function adminRead(key) {
if ( browser.storage instanceof Object === false ) { return; }
if ( browser.storage.local instanceof Object === false ) { return; }
if ( browser.storage.managed instanceof Object === false ) { return; }
try {
const bin = await browser.storage.managed.get(key);
if ( bin instanceof Object === false ) { return; }