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

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

Issue 2295863002: Remove window.postMessage(message, transferables, targetOrigin) legacy overload (Closed)
Patch Set: leave milestoneString alone Created 4 years, 3 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 71b341d3d91aa224705e35739dc506bcfb5875e0..8bf8afb3dac2892e8405209ef02247a233378c4f 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -55,11 +55,6 @@ String dopplerWillBeRemoved(const char* feature, int milestone, const char* deta
return String::format("%s is deprecated and will be removed in %s. It has no effect as the Web Audio doppler effects have already been removed internally. See https://www.chromestatus.com/features/%s for more details.", feature, milestoneString(milestone), details);
}
-String replacedWillBeRemoved(const char* feature, const char* replacement, int milestone, const char* details)
-{
- return String::format("%s is deprecated and will be removed in %s. Please use %s instead. See https://www.chromestatus.com/features/%s for more details.", feature, milestoneString(milestone), replacement, details);
-}
-
} // anonymous namespace
namespace blink {
@@ -348,9 +343,6 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature)
case UseCounter::HTMLKeygenElement:
return willBeRemoved("The <keygen> element", 56, "5716060992962560");
- case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument:
- return replacedWillBeRemoved("'window.postMessage(message, transferables, targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528");
-
case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentType strings without codecs will be removed in %s. Please specify the desired codec(s) as part of the contentType.", milestoneString(54));

Powered by Google App Engine
This is Rietveld 408576698