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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/cursor-finished.js

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 description("Ensure cursor calls behave as expected after cursor has run to the end."); 1 description("Ensure cursor calls behave as expected after cursor has run to the end.");
2 2
3 function test() 3 function test()
4 { 4 {
5 removeVendorPrefixes();
6 setDBNameFromPath(); 5 setDBNameFromPath();
7 prepareDatabase(); 6 prepareDatabase();
8 } 7 }
9 8
10 function prepareDatabase() 9 function prepareDatabase()
11 { 10 {
12 preamble(); 11 preamble();
13 request = evalAndLog("indexedDB.deleteDatabase(dbname)"); 12 request = evalAndLog("indexedDB.deleteDatabase(dbname)");
14 request.onerror = unexpectedErrorCallback; 13 request.onerror = unexpectedErrorCallback;
15 request.onblocked = unexpectedBlockedCallback; 14 request.onblocked = unexpectedBlockedCallback;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 evalAndExpectException("savedCursor.continue()", "DOMException.INVALID_S TATE_ERR", "'InvalidStateError'"); 65 evalAndExpectException("savedCursor.continue()", "DOMException.INVALID_S TATE_ERR", "'InvalidStateError'");
67 evalAndExpectException("savedCursor.continue('key')", "DOMException.INVA LID_STATE_ERR", "'InvalidStateError'"); 66 evalAndExpectException("savedCursor.continue('key')", "DOMException.INVA LID_STATE_ERR", "'InvalidStateError'");
68 evalAndExpectException("savedCursor.delete()", "DOMException.INVALID_STA TE_ERR", "'InvalidStateError'"); 67 evalAndExpectException("savedCursor.delete()", "DOMException.INVALID_STA TE_ERR", "'InvalidStateError'");
69 68
70 debug(""); 69 debug("");
71 finishJSTest(); 70 finishJSTest();
72 } 71 }
73 } 72 }
74 73
75 test(); 74 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/basics.js ('k') | LayoutTests/storage/indexeddb/resources/cursor-properties.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698