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

Side by Side Diff: LayoutTests/storage/indexeddb/constants.html

Issue 5722007: Merge 73605 - 2010-12-07 Jeremy Orlow <jorlow@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/storage/indexeddb/constants-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> 3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script src="../../fast/js/resources/js-test-post-function.js"></script> 5 <script src="../../fast/js/resources/js-test-post-function.js"></script>
6 <script src="resources/shared.js"></script> 6 <script src="resources/shared.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
11 <script> 11 <script>
12 12
13 description("Test IndexedDB's constants."); 13 description("Test IndexedDB's constants.");
14 if (window.layoutTestController) 14 if (window.layoutTestController)
15 layoutTestController.waitUntilDone(); 15 layoutTestController.waitUntilDone();
16 16
17 function test() 17 function test()
18 { 18 {
19 shouldBe("webkitIDBDatabaseException.UNKNOWN_ERR", "1"); 19 shouldBe("webkitIDBDatabaseException.UNKNOWN_ERR", "1");
20 shouldBe("webkitIDBDatabaseException.NON_TRANSIENT_ERR", "1"); 20 shouldBe("webkitIDBDatabaseException.NON_TRANSIENT_ERR", "2");
21 shouldBe("webkitIDBDatabaseException.NOT_FOUND_ERR", "2"); 21 shouldBe("webkitIDBDatabaseException.NOT_FOUND_ERR", "3");
22 shouldBe("webkitIDBDatabaseException.CONSTRAINT_ERR", "3"); 22 shouldBe("webkitIDBDatabaseException.CONSTRAINT_ERR", "4");
23 shouldBe("webkitIDBDatabaseException.DATA_ERR", "4"); 23 shouldBe("webkitIDBDatabaseException.DATA_ERR", "5");
24 shouldBe("webkitIDBDatabaseException.NOT_ALLOWED_ERR", "5"); 24 shouldBe("webkitIDBDatabaseException.NOT_ALLOWED_ERR", "6");
25 shouldBe("webkitIDBDatabaseException.SERIAL_ERR", "11"); 25 shouldBe("webkitIDBDatabaseException.SERIAL_ERR", "7");
26 shouldBe("webkitIDBDatabaseException.RECOVERABLE_ERR", "21"); 26 shouldBe("webkitIDBDatabaseException.RECOVERABLE_ERR", "8");
27 shouldBe("webkitIDBDatabaseException.TRANSIENT_ERR", "31"); 27 shouldBe("webkitIDBDatabaseException.TRANSIENT_ERR", "9");
28 shouldBe("webkitIDBDatabaseException.TIMEOUT_ERR", "32"); 28 shouldBe("webkitIDBDatabaseException.TIMEOUT_ERR", "10");
29 shouldBe("webkitIDBDatabaseException.DEADLOCK_ERR", "33"); 29 shouldBe("webkitIDBDatabaseException.DEADLOCK_ERR", "11");
30 30
31 shouldBe("webkitIDBRequest.LOADING", "1"); 31 shouldBe("webkitIDBRequest.LOADING", "1");
32 shouldBe("webkitIDBRequest.DONE", "2"); 32 shouldBe("webkitIDBRequest.DONE", "2");
33 33
34 shouldBe("webkitIDBCursor.NEXT", "0"); 34 shouldBe("webkitIDBCursor.NEXT", "0");
35 shouldBe("webkitIDBCursor.NEXT_NO_DUPLICATE", "1"); 35 shouldBe("webkitIDBCursor.NEXT_NO_DUPLICATE", "1");
36 shouldBe("webkitIDBCursor.PREV", "2"); 36 shouldBe("webkitIDBCursor.PREV", "2");
37 shouldBe("webkitIDBCursor.PREV_NO_DUPLICATE", "3"); 37 shouldBe("webkitIDBCursor.PREV_NO_DUPLICATE", "3");
38 38
39 shouldBe("webkitIDBTransaction.READ_WRITE", "0"); 39 shouldBe("webkitIDBTransaction.READ_WRITE", "0");
40 shouldBe("webkitIDBTransaction.READ_ONLY", "1"); 40 shouldBe("webkitIDBTransaction.READ_ONLY", "1");
41 shouldBe("webkitIDBTransaction.VERSION_CHANGE", "2"); 41 shouldBe("webkitIDBTransaction.VERSION_CHANGE", "2");
42 } 42 }
43 43
44 test(); 44 test();
45 45
46 var successfullyParsed = true; 46 var successfullyParsed = true;
47 done(); 47 done();
48 48
49 </script> 49 </script>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/storage/indexeddb/constants-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698