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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/intversion-upgrades.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 if (this.importScripts) { 1 if (this.importScripts) {
2 importScripts('../../../resources/js-test.js'); 2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js'); 3 importScripts('shared.js');
4 } 4 }
5 5
6 description("Upgrade a database, open a second connection at the same version, e nsure specifying a lower version causes an error"); 6 description("Upgrade a database, open a second connection at the same version, e nsure specifying a lower version causes an error");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes();
11 setDBNameFromPath(); 10 setDBNameFromPath();
12 11
13 request = evalAndLog("indexedDB.deleteDatabase(dbname)"); 12 request = evalAndLog("indexedDB.deleteDatabase(dbname)");
14 shouldBeEqualToString("String(request)", "[object IDBOpenDBRequest]"); 13 shouldBeEqualToString("String(request)", "[object IDBOpenDBRequest]");
15 request.onsuccess = deleteSuccess; 14 request.onsuccess = deleteSuccess;
16 request.onerror = unexpectedErrorCallback; 15 request.onerror = unexpectedErrorCallback;
17 } 16 }
18 17
19 function deleteSuccess(evt) { 18 function deleteSuccess(evt) {
20 debug(""); 19 debug("");
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 134
136 function connection5Success(evt) 135 function connection5Success(evt)
137 { 136 {
138 preamble(evt); 137 preamble(evt);
139 evalAndLog("db = event.target.result"); 138 evalAndLog("db = event.target.result");
140 shouldBe("db.version", "4"); 139 shouldBe("db.version", "4");
141 finishJSTest(); 140 finishJSTest();
142 } 141 }
143 142
144 test(); 143 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698