Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / open-bad-versions.html
blobe4b62e41630f82c032a85163424f92017bc863ca
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/shared.js"></script>
5 </head>
6 <body>
7 <script>
9 description("No crashes when opening and reloading with bad version numbers");
11 function test()
13 evalAndLog("dbname = String(window.location)");
15 try { indexedDB.open(dbname, -1); } catch (e) { }
16 indexedDB.open(dbname, 2);
17 try { indexedDB.open(dbname, -1); } catch (e) { }
19 setTimeout(function() {
20 if (!window.location.search) {
21 window.location = window.location + "?2";
22 } else {
23 finishJSTest();
25 }, 500);
28 test();
30 </script>
31 </body>
32 </html>