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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/intversion-persistence.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("Test that integer versions are retained when backing store is opene d/closed/re-opened."); 6 description("Test that integer versions are retained when backing store is opene d/closed/re-opened.");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes();
11 setDBNameFromPath(); 10 setDBNameFromPath();
12 11
13 // NOTE: deleteDatabase is not used, otherwise it would set the backing stor e schema version 12 // NOTE: deleteDatabase is not used, otherwise it would set the backing stor e schema version
14 // which would conceal the failure being tested for. Instead, a unique name is used each time. 13 // which would conceal the failure being tested for. Instead, a unique name is used each time.
15 evalAndLog("dbname = dbname + Date.now()"); 14 evalAndLog("dbname = dbname + Date.now()");
16 15
17 openFirstTime(); 16 openFirstTime();
18 } 17 }
19 18
20 function openFirstTime() { 19 function openFirstTime() {
(...skipping 29 matching lines...) Expand all
50 evalAndLog("db = request.result"); 49 evalAndLog("db = request.result");
51 shouldBe("db.version", "1"); 50 shouldBe("db.version", "1");
52 shouldBe("db.objectStoreNames.length", "1"); 51 shouldBe("db.objectStoreNames.length", "1");
53 evalAndLog("db.close()"); 52 evalAndLog("db.close()");
54 debug(""); 53 debug("");
55 finishJSTest(); 54 finishJSTest();
56 }; 55 };
57 } 56 }
58 57
59 test(); 58 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698