dom/datastore/tests/file_certifiedApp.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/datastore/tests/file_certifiedApp.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <meta charset="utf-8">
     1.8 +  <title>Test for DataStore just for certified Apps</title>
     1.9 +</head>
    1.10 +<body>
    1.11 +<div id="container"></div>
    1.12 +  <script type="application/javascript;version=1.7">
    1.13 +
    1.14 +  function ok(a, msg) {
    1.15 +    alert((a ? 'OK' : 'KO')+ ' ' + msg)
    1.16 +  }
    1.17 +
    1.18 +  function finish() {
    1.19 +    alert('DONE');
    1.20 +  }
    1.21 +
    1.22 +  ok(!("DataStore" in window), "DataStore is not an available interface");
    1.23 +  ok(!("DataStoreChangeEvent" in window), "DataStore is not an available interface");
    1.24 +  ok(!("getDataStores" in navigator), "DataStore not available");
    1.25 +  finish();
    1.26 +  </script>
    1.27 +</body>
    1.28 +</html>

mercurial