2012-10-30 10:12:18 +04:00
|
|
|
<!--
|
|
|
|
Any copyright is dedicated to the Public Domain.
|
|
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
|
|
-->
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Indexed Database Property Test</title>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
|
|
|
2017-02-23 00:10:07 +03:00
|
|
|
<script type="text/javascript">
|
2017-05-10 19:05:18 +03:00
|
|
|
/* import-globals-from helpers.js */
|
2016-12-01 12:11:32 +03:00
|
|
|
function* testSteps()
|
2012-10-30 10:12:18 +04:00
|
|
|
{
|
|
|
|
is("open" in indexedDB, true, "open() defined");
|
|
|
|
is("openForPrincipal" in indexedDB, false, "openForPrincipal() not defined");
|
|
|
|
|
|
|
|
is("deleteDatabase" in indexedDB, true, "deleteDatabase() defined");
|
|
|
|
is("deleteForPrincipal" in indexedDB, false, "deleteForPrincipal() not defined");
|
|
|
|
|
|
|
|
finishTest();
|
|
|
|
}
|
|
|
|
</script>
|
2017-02-23 00:10:07 +03:00
|
|
|
<script type="text/javascript" src="helpers.js"></script>
|
2012-10-30 10:12:18 +04:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body onload="runTest();"></body>
|
|
|
|
|
|
|
|
</html>
|