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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/unblocked-version-changes.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("Ensure that metadata remains correct when an aborted version change is followed by another. "); 6 description("Ensure that metadata remains correct when an aborted version change is followed by another. ");
7 7
8 function test() { 8 function test() {
9 removeVendorPrefixes();
10 setDBNameFromPath(); 9 setDBNameFromPath();
11 request = evalAndLog("indexedDB.deleteDatabase(dbname)"); 10 request = evalAndLog("indexedDB.deleteDatabase(dbname)");
12 request.onblocked = unexpectedBlockedCallback; 11 request.onblocked = unexpectedBlockedCallback;
13 request.onerror = unexpectedErrorCallback; 12 request.onerror = unexpectedErrorCallback;
14 request.onsuccess = openConnection; 13 request.onsuccess = openConnection;
15 } 14 }
16 15
17 function openConnection() 16 function openConnection()
18 { 17 {
19 preamble(); 18 preamble();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 53
55 function onSuccess(evt) 54 function onSuccess(evt)
56 { 55 {
57 preamble(evt); 56 preamble(evt);
58 evalAndLog("db = request.result"); 57 evalAndLog("db = request.result");
59 shouldBe("db.version", "3"); 58 shouldBe("db.version", "3");
60 finishJSTest(); 59 finishJSTest();
61 } 60 }
62 61
63 test(); 62 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698