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

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

Issue 2501743003: Indexed DB: Remove 'webkit'-prefixed global aliases (Closed)
Patch Set: #if 0 as the least bad option? Created 4 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
OLDNEW
(Empty)
1 if (this.importScripts) {
2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js');
4 }
5
6 description("Ensure that some obsolete IndexedDB features are gone.");
7
8 function test()
9 {
10 setDBNameFromPath();
11
12 shouldBeUndefined("self.webkitIDBDatabaseError");
13 shouldBeFalse("'IDBDatabaseException' in self");
14 shouldBeFalse("'errorCode' in indexedDB.open(dbname)");
15 shouldBeFalse("'setVersion' in IDBDatabase.prototype");
16
17 if ('document' in self) {
18 shouldThrow("document.createEvent('IDBUpgradeNeededEvent')");
19 shouldBeFalse("'version' in document.createEvent('IDBVersionChangeEvent' )");
20 }
21
22 finishJSTest();
23 }
24
25 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698