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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/intversion-gated-on-delete.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 a database is recreated correctly when an open-with-versi on call is queued behind a deleteDatabase call"); 6 description("Test that a database is recreated correctly when an open-with-versi on call is queued behind a deleteDatabase call");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes();
11 setDBNameFromPath(); 10 setDBNameFromPath();
12 request = evalAndLog("indexedDB.deleteDatabase(dbname)"); 11 request = evalAndLog("indexedDB.deleteDatabase(dbname)");
13 request.onsuccess = deleteSuccess; 12 request.onsuccess = deleteSuccess;
14 request.onerror = unexpectedErrorCallback; 13 request.onerror = unexpectedErrorCallback;
15 } 14 }
16 15
17 function deleteSuccess(evt) { 16 function deleteSuccess(evt) {
18 preamble(evt); 17 preamble(evt);
19 debugger; 18 debugger;
20 evalAndLog("request = indexedDB.open(dbname)"); 19 evalAndLog("request = indexedDB.open(dbname)");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 85 }
87 86
88 function openWithVersionSuccessCallback(evt) 87 function openWithVersionSuccessCallback(evt)
89 { 88 {
90 preamble(evt); 89 preamble(evt);
91 shouldBe("event.target.result.objectStoreNames.length", "0"); 90 shouldBe("event.target.result.objectStoreNames.length", "0");
92 finishJSTest(); 91 finishJSTest();
93 } 92 }
94 93
95 test(); 94 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698