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

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

Issue 417103002: Deprecate openDatabase and openDatabaseSync in workers. (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 52b279145ffb7e3b971b04662c40ea34e95614b1..4a55d519c4d1b462f8a5ef9e3083e78204740d06 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -733,6 +733,12 @@ String UseCounter::deprecationMessage(Feature feature)
case SyncXHRWithCredentials:
return "Setting 'XMLHttpRequest.withCredentials' for synchronous requests is deprecated.";
+ case OpenWebDatabaseInWorker:
+ return "'openDatabase' in Workers is deprecated. Please switch to Indexed Database API.";
+
+ case OpenWebDatabaseSyncInWorker:
+ return "'openDatabaseSync' is deprecated. Please switch to Indexed Database API.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698