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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/data-corruption.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 that data inserted into IndexedDB does not get corrupted on di sk."); 6 description("Test that data inserted into IndexedDB does not get corrupted on di sk.");
7 7
8 indexedDBTest(prepareDatabase, addData); 8 indexedDBTest(prepareDatabase, addData);
9 function prepareDatabase() 9 function prepareDatabase()
10 { 10 {
11 db = event.target.result; 11 db = event.target.result;
12 debug("setVersionSuccess():"); 12 debug("setVersionSuccess():");
(...skipping 23 matching lines...) Expand all
36 var request = evalAndLog("request = transaction.objectStore('storeName').get ('key')"); 36 var request = evalAndLog("request = transaction.objectStore('storeName').get ('key')");
37 request.onerror = unexpectedErrorCallback; 37 request.onerror = unexpectedErrorCallback;
38 request.onsuccess = doCheck; 38 request.onsuccess = doCheck;
39 } 39 }
40 40
41 function doCheck() 41 function doCheck()
42 { 42 {
43 shouldBe("event.target.result.x.toString()", "testDate.toString()"); 43 shouldBe("event.target.result.x.toString()", "testDate.toString()");
44 finishJSTest(); 44 finishJSTest();
45 } 45 }
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/cursor-value.js ('k') | LayoutTests/storage/indexeddb/resources/database-basics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698