summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/change-version-handle-reuse.html
blob: dd32198bc57ea30b974c825ea241a9d823e4e39b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html> 
<head>
<script src="change-version-handle-reuse.js"></script>
<script> 

var DB_TEST_SUFFIX = "_dom";

function log(message)
{
    document.getElementById("console").innerText += message + "\n";
}

function setupAndRunTest()
{
    if (window.layoutTestController) {
        layoutTestController.waitUntilDone();
        layoutTestController.dumpAsText();
    }
 
    document.getElementById("console").innerText = "";
 
    runTest();
}
</script> 
</head> 
<body onload="setupAndRunTest()"> 
<div>This tests that a database can be accessed after changing its version. You should see an error about FooBar table below, not about mismatching versions.
<pre id="console"> 
FAILURE: test didn't run.
</pre> 
</body> 
</html>