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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/removed.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("Ensure that some obsolete IndexedDB features are gone."); 6 description("Ensure that some obsolete IndexedDB features are gone.");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes(); 10 removeVendorPrefixes();
11 setDBNameFromPath(); 11 setDBNameFromPath();
12 12
13 shouldBeUndefined("self.webkitIDBDatabaseError"); 13 shouldBeUndefined("self.webkitIDBDatabaseError");
14 shouldBeFalse("'IDBDatabaseException' in self"); 14 shouldBeFalse("'IDBDatabaseException' in self");
15 shouldBeFalse("'errorCode' in indexedDB.open(dbname)"); 15 shouldBeFalse("'errorCode' in indexedDB.open(dbname)");
16 shouldBeFalse("'setVersion' in IDBDatabase.prototype"); 16 shouldBeFalse("'setVersion' in IDBDatabase.prototype");
17 17
18 if ('document' in self) { 18 if ('document' in self) {
19 shouldThrow("document.createEvent('IDBUpgradeNeededEvent')"); 19 shouldThrow("document.createEvent('IDBUpgradeNeededEvent')");
20 shouldBeFalse("'version' in document.createEvent('IDBVersionChangeEvent' )"); 20 shouldBeFalse("'version' in document.createEvent('IDBVersionChangeEvent' )");
21 } 21 }
22 22
23 finishJSTest(); 23 finishJSTest();
24 } 24 }
25 25
26 test(); 26 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698