26 lines
661 B
HTML
26 lines
661 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
function runTest() {
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
testRunner.clearAllDatabases();
|
|
}
|
|
|
|
try {
|
|
var db = openDatabase('OverQuotaOpen', '', 'Test for bug 36473: missing lock in call to doneCreatingDatabase', 10000000);
|
|
} catch (err) {
|
|
document.getElementById('result').innerHTML = 'PASS'
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runTest()">
|
|
<div>This tests that calling openDatabase with a size greater or equal to the test max quota limit of 5MB
|
|
doesn't assert on debug builds.
|
|
<div id="result">
|
|
FAIL: We shouldn't have been able to open the database.
|
|
</div>
|
|
</body>
|
|
</html>
|