Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Side by Side Diff: LayoutTests/storage/indexeddb/open-bad-versions.html

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/shared.js"></script> 4 <script src="resources/shared.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 8
9 description("No crashes when opening and reloading with bad version numbers"); 9 description("No crashes when opening and reloading with bad version numbers");
10 10
11 function test() 11 function test()
12 { 12 {
13 removeVendorPrefixes();
14 evalAndLog("dbname = String(window.location)"); 13 evalAndLog("dbname = String(window.location)");
15 14
16 try { indexedDB.open(dbname, -1); } catch (e) { } 15 try { indexedDB.open(dbname, -1); } catch (e) { }
17 indexedDB.open(dbname, 2); 16 indexedDB.open(dbname, 2);
18 try { indexedDB.open(dbname, -1); } catch (e) { } 17 try { indexedDB.open(dbname, -1); } catch (e) { }
19 18
20 setTimeout(function() { 19 setTimeout(function() {
21 if (!window.location.search) { 20 if (!window.location.search) {
22 window.location = window.location + "?2"; 21 window.location = window.location + "?2";
23 } else { 22 } else {
24 finishJSTest(); 23 finishJSTest();
25 } 24 }
26 }, 500); 25 }, 500);
27 } 26 }
28 27
29 test(); 28 test();
30 29
31 </script> 30 </script>
32 </body> 31 </body>
33 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/odd-strings-expected.txt ('k') | LayoutTests/storage/indexeddb/open-bad-versions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698