Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / websql / open-database-over-quota.html
blob2238140860904262645e56fa54a08a432355b81d
1 <html>
2 <head>
3 <script>
4 function runTest() {
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.clearAllDatabases();
10 try {
11 var db = openDatabase('OverQuotaOpen', '', 'Test for bug 36473: missing lock in call to doneCreatingDatabase', 10000000);
12 } catch (err) {
13 document.getElementById('result').innerHTML = 'PASS'
16 </script>
17 </head>
18 <body onload="runTest()">
19 <div>This tests that calling openDatabase with a size over 5MB doesn't assert on debug builds.
20 <div id="result">
21 FAIL: We shouldn't have been able to open the database.
22 </div>
23 </body>
24 </html>