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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 1938183002: Deprecate URL.createObjectURL/revokeObjectURL in Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: derp Created 4 years, 7 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: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index be699b5cebddfde194306dee8d31ef5a38bc0c44..7b2d9093f0aecb21784ae5b918f4d0518a8f67f3 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -388,6 +388,12 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature)
case UseCounter::During_Microtask_SyncXHR:
return willBeRemoved("Invoking 'send()' on a sync XHR during microtask execution", 53, "5647113010544640");
+ case UseCounter::URLMethodCreateObjectURLServiceWorker:
+ return willBeRemoved("The 'URL.createObjectURL' method in Service Workers", 52, "5685092332601344");
+
+ case UseCounter::URLMethodRevokeObjectURLServiceWorker:
+ return willBeRemoved("The 'URL.revokeObjectURL' method in Service Workers", 52, "5685092332601344");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698