Created
January 23, 2019 12:11
-
-
Save kzar/543caa2561d15983c1e975d532a73d17 to your computer and use it in GitHub Desktop.
Edge extension IndexedDB test (7223)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function openDB(dbName) | |
{ | |
let req = indexedDB.open(dbName); | |
req.onsuccess = event => | |
{ | |
console.log("version::", event.currentTarget.result.version); | |
console.log("store names::", JSON.stringify(event.currentTarget.result.objectStoreNames)); | |
}; | |
req.onerror = event => | |
{ | |
console.log("error::", event.target.error); | |
} | |
} | |
openDB("localforage"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instructions
about:flags
page in Edge.Note: Take care to disable the extension developer features again, unless you really are developing Edge extensions!