索引数据库无法在歌剧中使用,Safari

 if (!("indexedDB" in window)) {
            console.warn("IndexedDB not supported");
            return;
        }
        log("db created ",data.product_detail)
    
        const dbName = "gt_form";
        const storeName = "product_store";
        const version = 1; //versions start at 1
    
            const db = await openDB(dbName, version, {
            upgrade(db, oldVersion, newVersion, transaction) {
            const store = db.createObjectStore(storeName);
            }
        });
        
        const tx = await db.transaction(storeName, "readwrite");
        const store = await tx.objectStore(storeName);
    

它可以在mozilla和chrome上正常工作,但不知道为什么浏览器的其余部分也不支持chrome隐身模式