mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c1c4328171
--HG-- rename : dom/datastore/tests/file_bug976311.template.webapp => dom/datastore/tests/file_bug986056.template.webapp
27 lines
456 B
HTML
27 lines
456 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test for DataStore - bug 986056 app</title>
|
|
</head>
|
|
<body>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
<pre id="test">
|
|
<script type="application/javascript;version=1.7">
|
|
|
|
function cbError() {
|
|
alert('KO error');
|
|
}
|
|
|
|
navigator.getDataStores('foo').then(function(stores) {
|
|
alert("OK " + stores.length);
|
|
}, cbError);
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
|