<html>
<head><title>None</title><script>
function checkDatabase() {
var db = null;
if ('openDatabase' in window) {
db = window.openDatabase('test', '1.0', 'results', 1*1024*1024);
}
document.title = db ? "Has database" : "No database";
}
</script></head>
<body onload='checkDatabase()'>
</body>
</html>