
          ["secret", key], (tx, rs) => {}, (tx, rs) => {});
      }));
    }

read: async () => {
      let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
      let result = await new Promise((resolve, reject) => database.transaction(tx => {
        tx.executeSql(
          "SELECT value FROM cache WHERE name=?",
          ["secret"],
          (tx, rs) => resolve(rs),
          (tx, err) => reject(err));
      }));
      return result.rows.item(0).value;
    }

resul