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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/intversion-bad-parameters.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 bad version parameters cause TypeError"); 6 description("Test that bad version parameters cause TypeError");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes(); 10 removeVendorPrefixes();
11 setDBNameFromPath(); 11 setDBNameFromPath();
12 12
(...skipping 11 matching lines...) Expand all
24 evalAndExpectExceptionClass("indexedDB.open(dbname, -Infinity)", "TypeError" ); 24 evalAndExpectExceptionClass("indexedDB.open(dbname, -Infinity)", "TypeError" );
25 evalAndExpectExceptionClass("indexedDB.open(dbname, NaN)", "TypeError"); 25 evalAndExpectExceptionClass("indexedDB.open(dbname, NaN)", "TypeError");
26 evalAndExpectExceptionClass("indexedDB.open(dbname, -1)", "TypeError"); 26 evalAndExpectExceptionClass("indexedDB.open(dbname, -1)", "TypeError");
27 evalAndExpectExceptionClass("indexedDB.open(dbname, 0x20000000000000)", "Typ eError"); 27 evalAndExpectExceptionClass("indexedDB.open(dbname, 0x20000000000000)", "Typ eError");
28 evalAndExpectExceptionClass("indexedDB.open(dbname, null)", "TypeError"); 28 evalAndExpectExceptionClass("indexedDB.open(dbname, null)", "TypeError");
29 evalAndExpectExceptionClass("indexedDB.open(dbname, undefined)", "TypeError" ); 29 evalAndExpectExceptionClass("indexedDB.open(dbname, undefined)", "TypeError" );
30 finishJSTest(); 30 finishJSTest();
31 } 31 }
32 32
33 test(); 33 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/interfaces.js ('k') | LayoutTests/storage/indexeddb/resources/intversion-blocked.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698