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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/transaction-readwrite-exclusive.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("Check that readwrite transactions with overlapping scopes do not ru n in parallel."); 6 description("Check that readwrite transactions with overlapping scopes do not ru n in parallel.");
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 request.onerror = unexpectedBlockedCallback; 13 request.onerror = unexpectedBlockedCallback;
15 request.onblocked = unexpectedBlockedCallback; 14 request.onblocked = unexpectedBlockedCallback;
16 request.onsuccess = openConnection1; 15 request.onsuccess = openConnection1;
17 } 16 }
18 17
19 function openConnection1() 18 function openConnection1()
20 { 19 {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 evalAndLog("transaction2Complete = true"); 97 evalAndLog("transaction2Complete = true");
99 shouldBeTrue("transaction1PutSuccess"); 98 shouldBeTrue("transaction1PutSuccess");
100 shouldBeTrue("transaction1Complete"); 99 shouldBeTrue("transaction1Complete");
101 shouldBeTrue("transaction2PutSuccess"); 100 shouldBeTrue("transaction2PutSuccess");
102 101
103 finishJSTest(); 102 finishJSTest();
104 }; 103 };
105 } 104 }
106 105
107 test(); 106 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698