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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/factory-basics.js

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months 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('../../../resources/js-test.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 IDBFactory."); 6 description("Test the basics of IndexedDB's IDBFactory.");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes();
11
12 shouldBeEqualToString("typeof indexedDB.open", "function"); 10 shouldBeEqualToString("typeof indexedDB.open", "function");
13 shouldBeEqualToString("typeof indexedDB.cmp", "function"); 11 shouldBeEqualToString("typeof indexedDB.cmp", "function");
14 shouldBeEqualToString("typeof indexedDB.deleteDatabase", "function"); 12 shouldBeEqualToString("typeof indexedDB.deleteDatabase", "function");
15 13
16 // Non-standard, must be prefixed 14 // Non-standard, must be prefixed
17 shouldBeEqualToString("typeof indexedDB.webkitGetDatabaseNames", "function") ; 15 shouldBeEqualToString("typeof indexedDB.webkitGetDatabaseNames", "function") ;
18 shouldBeEqualToString("typeof indexedDB.getDatabaseNames", "undefined"); 16 shouldBeEqualToString("typeof indexedDB.getDatabaseNames", "undefined");
19 17
20 name = 'storage/indexeddb/factory-basics'; 18 name = 'storage/indexeddb/factory-basics';
21 19
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 request.onsuccess = deleteDatabaseSuccess2; 79 request.onsuccess = deleteDatabaseSuccess2;
82 request.onerror = unexpectedErrorCallback; 80 request.onerror = unexpectedErrorCallback;
83 } 81 }
84 82
85 function deleteDatabaseSuccess2() 83 function deleteDatabaseSuccess2()
86 { 84 {
87 finishJSTest(); 85 finishJSTest();
88 } 86 }
89 87
90 test(); 88 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/events.js ('k') | LayoutTests/storage/indexeddb/resources/factory-cmp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698