Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / websql / open-database-empty-version.html
blob2fbf5b39b2e02df730ed6e311b28dc3ce6077397
1 <html>
2 <head>
3 <script>
4 function runTest() {
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 try {
9 var db = openDatabase('5562470Test', '', 'Test for <rdar://problem/5562470> openDatabase does not work when the version string is empty', 1);
10 } catch (e) {
11 document.getElementById('result').innerHTML = 'FAILURE'
14 </script>
15 </head>
16 <body onload="runTest()">
17 <div>This tests that calling openDatabase with an empty version string does not cause an exception to be thrown.
18 <div id="result">
19 SUCCESS! Did not throw an exception.
20 </div>
21 </body>
22 </html>