2013-10-02 17:27:14 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Test for DataStore - basic operation on a readonly db</title>
|
2014-05-12 06:42:01 +00:00
|
|
|
<script type="text/javascript" src="file_basic_common.js"></script>
|
2013-10-02 17:27:14 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container"></div>
|
|
|
|
<script type="application/javascript;version=1.7">
|
|
|
|
|
|
|
|
function is(a, b, msg) {
|
|
|
|
alert((a === b ? 'OK' : 'KO') + ' ' + msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
function ok(a, msg) {
|
|
|
|
alert((a ? 'OK' : 'KO')+ ' ' + msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
function cbError() {
|
|
|
|
alert('KO error');
|
|
|
|
}
|
|
|
|
|
|
|
|
function finish() {
|
|
|
|
alert('DONE');
|
|
|
|
}
|
|
|
|
|
|
|
|
runTest();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|