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

Side by Side Diff: third_party/WebKit/LayoutTests/storage/indexeddb/resources/unprefix.js

Issue 2501743003: Indexed DB: Remove 'webkit'-prefixed global aliases (Closed)
Patch Set: #if 0 as the least bad option? Created 4 years 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
OLDNEW
(Empty)
1 if (this.importScripts) {
2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js');
4 }
5
6 description("Check that IDBFactory is available through the prefixed or unprefix ed entry point.");
7
8 function test()
9 {
10 shouldBeEqualToString("String(self.indexedDB)", "[object IDBFactory]");
11 shouldBeEqualToString("String(self.webkitIndexedDB)", "[object IDBFactory]") ;
12 shouldBeNonNull("IDBCursor");
13 shouldBeNonNull("IDBDatabase");
14 shouldBeNonNull("IDBFactory");
15 shouldBeNonNull("IDBIndex");
16 shouldBeNonNull("IDBKeyRange");
17 shouldBeNonNull("IDBObjectStore");
18 shouldBeNonNull("IDBRequest");
19 shouldBeNonNull("IDBTransaction");
20 finishJSTest();
21 }
22
23 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698