Chromium Code Reviews| 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."; |