зеркало из https://github.com/mozilla/gecko-dev.git
26 строки
593 B
HTML
26 строки
593 B
HTML
<!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');
|
|
}
|
|
|
|
ok(!("DataStore" in window), "DataStore is not an available interface");
|
|
ok(!("DataStoreChangeEvent" in window), "DataStore is not an available interface");
|
|
ok(!("getDataStores" in navigator), "DataStore not available");
|
|
finish();
|
|
</script>
|
|
</body>
|
|
</html>
|