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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/cursor-update-value-argument-required.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 cursor.update required arguments"); 6 description("Test IndexedDB cursor.update required arguments");
7 7
8 indexedDBTest(prepareDatabase); 8 indexedDBTest(prepareDatabase);
9 function prepareDatabase() 9 function prepareDatabase()
10 { 10 {
11 db = event.target.result; 11 db = event.target.result;
12 objectStore = evalAndLog("db.createObjectStore('autoIncrement', { autoIncrem ent: true });"); 12 objectStore = evalAndLog("db.createObjectStore('autoIncrement', { autoIncrem ent: true });");
(...skipping 29 matching lines...) Expand all
42 request.onsuccess = function (event) { 42 request.onsuccess = function (event) {
43 cursor = evalAndLog("cursor = event.target.result;"); 43 cursor = evalAndLog("cursor = event.target.result;");
44 if (cursor) { 44 if (cursor) {
45 shouldThrow("cursor.update();"); 45 shouldThrow("cursor.update();");
46 } else { 46 } else {
47 testFailed("cursor was null"); 47 testFailed("cursor was null");
48 } 48 }
49 finishJSTest(); 49 finishJSTest();
50 } 50 }
51 } 51 }
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/cursor-update.js ('k') | LayoutTests/storage/indexeddb/resources/cursor-value.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698