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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/transaction-basics.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("Test IndexedDB transaction basics."); 6 description("Test IndexedDB transaction basics.");
7 7
8 indexedDBTest(prepareDatabase, testSetVersionAbort1); 8 indexedDBTest(prepareDatabase, testSetVersionAbort1);
9 function prepareDatabase() 9 function prepareDatabase()
10 { 10 {
11 db = event.target.result; 11 db = event.target.result;
12 } 12 }
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 trans.oncomplete = verifyDegenerateNames; 289 trans.oncomplete = verifyDegenerateNames;
290 }; 290 };
291 function verifyDegenerateNames() { 291 function verifyDegenerateNames() {
292 shouldNotThrow("transaction = db.transaction(null)"); 292 shouldNotThrow("transaction = db.transaction(null)");
293 shouldBeNonNull("transaction.objectStore('null')"); 293 shouldBeNonNull("transaction.objectStore('null')");
294 shouldNotThrow("transaction = db.transaction(undefined)"); 294 shouldNotThrow("transaction = db.transaction(undefined)");
295 shouldBeNonNull("transaction.objectStore('undefined')"); 295 shouldBeNonNull("transaction.objectStore('undefined')");
296 finishJSTest(); 296 finishJSTest();
297 } 297 }
298 } 298 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698