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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 415753002: Deprecate the webkit-prefixed standard IndexedDB entry points (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index e4b62ed3d705d2ffe1a8d68c394dea972857904a..6d96a224a895b7bfef07a619e29425769c67bcec 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -697,6 +697,33 @@ String UseCounter::deprecationMessage(Feature feature)
case PrefixedGamepad:
return "'navigator.webkitGetGamepads' is deprecated. Please use 'navigator.getGamepads' instead.";
+ case PrefixedIndexedDB:
+ return "'webkitIndexedDB' is deprecated. Please use the standard 'indexedDB' instead.";
eseidel 2014/07/23 20:18:31 I'm suprised we don't have a helper fucntion for g
jsbell 2014/07/23 21:12:42 Good idea. I went with the generic "'%s' is deprec
+
+ case PrefixedIDBCursorConstructor:
+ return "'webkitIDBCursor' is deprecated. Please use the standard 'IDBCursor' instead.";
+
+ case PrefixedIDBDatabaseConstructor:
+ return "'webkitIDBDatabase' is deprecated. Please use the standard 'IDBDatabase' instead.";
+
+ case PrefixedIDBFactoryConstructor:
+ return "'webkitIDBFactory' is deprecated. Please use the standard 'IDBFactory' instead.";
+
+ case PrefixedIDBIndexConstructor:
+ return "'webkitIDBIndex' is deprecated. Please use the standard 'IDBIndex' instead.";
+
+ case PrefixedIDBKeyRangeConstructor:
+ return "'webkitIDBKeyRange' is deprecated. Please use the standard 'IDBKeyRange' instead.";
+
+ case PrefixedIDBObjectStoreConstructor:
+ return "'webkitIDBObjectStore' is deprecated. Please use the standard 'IDBObjectStore' instead.";
+
+ case PrefixedIDBRequestConstructor:
+ return "'webkitIDBRequest' is deprecated. Please use the standard 'IDBRequest' instead.";
+
+ case PrefixedIDBTransactionConstructor:
+ return "'webkitIDBTransaction' is deprecated. Please use the standard 'IDBTransaction' instead.";
+
case PrefixedRequestAnimationFrame:
return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.";

Powered by Google App Engine
This is Rietveld 408576698