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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/opencursor-key.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 openCursor/openKeyCursor with raw IDBKeys."); 6 description("Test openCursor/openKeyCursor with raw IDBKeys.");
7 7
8 var objectStoreData = [ 8 var objectStoreData = [
9 { key: "237-23-7732", value: { name: "Bob", height: 60, weight: 120 } }, 9 { key: "237-23-7732", value: { name: "Bob", height: 60, weight: 120 } },
10 { key: "237-23-7733", value: { name: "Ann", height: 52, weight: 110 } }, 10 { key: "237-23-7733", value: { name: "Ann", height: 52, weight: 110 } },
11 { key: "237-23-7734", value: { name: "Ron", height: 73, weight: 180 } }, 11 { key: "237-23-7734", value: { name: "Ron", height: 73, weight: 180 } },
12 { key: "237-23-7735", value: { name: "Sue", height: 58, weight: 130 } }, 12 { key: "237-23-7735", value: { name: "Sue", height: 58, weight: 130 } },
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } else if (count == 3) { 153 } else if (count == 3) {
154 shouldBeNull("cursor"); 154 shouldBeNull("cursor");
155 } else { 155 } else {
156 testFailed("Too much iteration"); 156 testFailed("Too much iteration");
157 } 157 }
158 count++; 158 count++;
159 }; 159 };
160 request.onerror = unexpectedErrorCallback; 160 request.onerror = unexpectedErrorCallback;
161 trans.oncomplete = finishJSTest; 161 trans.oncomplete = finishJSTest;
162 } 162 }
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/open-twice.js ('k') | LayoutTests/storage/indexeddb/resources/pending-activity.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698