Skip to content

Commit 5b7d7c4

Browse files
author
Parashuram
committed
Run the jquery tests even when database could not be opened.
1 parent 40a83f4 commit 5b7d7c4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,15 @@
4040
//_("Database upgrade needed");
4141
};
4242
dbDeleteRequest.onerror = function(e){
43-
//_("Error deleting DB");
43+
alert("Could not delete database, but still continuing with tests");
44+
window.setTimeout(function(){
45+
startQunitTests();
46+
nextTest();
47+
}, 1000)
48+
4449
};
4550
dbDeleteRequest.onblocked = function(e){
46-
//_("Deleting DB Blocked. Try closing the database and then deleting it", dbDeleteRequest.error, e.type);
51+
alert("Deleting database blocked")
4752
};
4853
});
4954

0 commit comments

Comments
 (0)