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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/transaction-starvation.js

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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('../../../fast/js/resources/js-test-pre.js'); 2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js'); 3 importScripts('shared.js');
4 } 4 }
5 5
6 description("Check that read-only transactions don't starve read-write transacti ons."); 6 description("Check that read-only transactions don't starve read-write transacti ons.");
7 7
8 indexedDBTest(prepareDatabase, runTransactions); 8 indexedDBTest(prepareDatabase, runTransactions);
9 9
10 function prepareDatabase(evt) 10 function prepareDatabase(evt)
11 { 11 {
12 preamble(evt); 12 preamble(evt);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 evalAndLog("transaction = db.transaction('store', 'readwrite')"); 54 evalAndLog("transaction = db.transaction('store', 'readwrite')");
55 transaction.onabort = unexpectedAbortCallback; 55 transaction.onabort = unexpectedAbortCallback;
56 evalAndLog("readWriteTransactionStarted = true"); 56 evalAndLog("readWriteTransactionStarted = true");
57 transaction.oncomplete = function readWriteTransactionComplete() { 57 transaction.oncomplete = function readWriteTransactionComplete() {
58 preamble(); 58 preamble();
59 testPassed("Transaction wasn't starved"); 59 testPassed("Transaction wasn't starved");
60 evalAndLog("readWriteTransactionComplete = true"); 60 evalAndLog("readWriteTransactionComplete = true");
61 finishJSTest(); 61 finishJSTest();
62 }; 62 };
63 } 63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698