2013-12-05 15:12:23 -08:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Test for DataStore just for certified Apps</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container"></div>
|
|
|
|
<script type="application/javascript;version=1.7">
|
|
|
|
|
|
|
|
function ok(a, msg) {
|
|
|
|
alert((a ? 'OK' : 'KO')+ ' ' + msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
function finish() {
|
|
|
|
alert('DONE');
|
|
|
|
}
|
|
|
|
|
2014-02-06 09:44:03 -08:00
|
|
|
ok(!("DataStore" in window), "DataStore is not an available interface");
|
|
|
|
ok(!("DataStoreChangeEvent" in window), "DataStore is not an available interface");
|
2013-12-05 15:12:23 -08:00
|
|
|
ok(!("getDataStores" in navigator), "DataStore not available");
|
|
|
|
finish();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|