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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/objectstore-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 the basics of IndexedDB's IDBObjectStore."); 6 description("Test the basics of IndexedDB's IDBObjectStore.");
7 7
8 indexedDBTest(prepareDatabase, testSetVersionAbort); 8 indexedDBTest(prepareDatabase, testSetVersionAbort);
9 function prepareDatabase(evt) 9 function prepareDatabase(evt)
10 { 10 {
11 preamble(evt); 11 preamble(evt);
12 db = event.target.result; 12 db = event.target.result;
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 debug("The object store uses in-line keys but no key generator and the r esult of evaluating the object store's key path does not yield a value."); 301 debug("The object store uses in-line keys but no key generator and the r esult of evaluating the object store's key path does not yield a value.");
302 evalAndExpectException("storeWithInLineKeys.add({})", "0", "'DataError'" ); 302 evalAndExpectException("storeWithInLineKeys.add({})", "0", "'DataError'" );
303 303
304 debug("The key parameter was provided but does not contain a valid key." ); 304 debug("The key parameter was provided but does not contain a valid key." );
305 evalAndExpectException("storeWithOutOfLineKeys.add({}, null)", "0", "'Da taError'"); 305 evalAndExpectException("storeWithOutOfLineKeys.add({}, null)", "0", "'Da taError'");
306 306
307 finishJSTest(); 307 finishJSTest();
308 }; 308 };
309 } 309 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698