If I run the Javascript below in Chrome it works fine. In cefclient.exe, however, it crashes with the message: [0521/113614:FATAL:database_connections.cc(15)] Check failed: connections_empty()
- Code: Select all
var db = null;
function testDb() {
db = openDatabase("Test", "1.0", "HTML5 Database API example", 200000);
if (db) {
alert("Database opened!");
}
else {
alert("Failed to open the database");
return;
}
db.executeSql('CREATE TABLE IF NOT EXISTS Test (id INTEGER PRIMARY KEY AUTOINCREMENT, test TEXT)', [],
function(tx, rs) {
alert("Result:" + rs);
},
function(tx, err) {
alert("Failed:" + err);
});
alert("here");
}
I'm running the CEF r78 binary distribution. Would it help if I build a nightly?
Thanks,
Brenton