blob: 39f3ae93584ec25bd7787025b6eed824dea625b0 [file] [log] [blame]
<!DOCTYPE html>
<script>
var request = window.indexedDB.open("TestIndexedDB");
request.onsuccess = () => {
window.webkit.messageHandlers.testHandler.postMessage("Open Succeeded");
var db = event.target.result;
db.onversionchange = () => {
window.webkit.messageHandlers.testHandler.postMessage("Version Change");
}
}
request.onerror = () => {
window.webkit.messageHandlers.testHandler.postMessage("Open Failed: " + request.error);
}
</script>