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

Unified Diff: content/public/common/content_features.cc

Issue 2184973002: Add UMA to count the usage of sendBeacon with non-simple Content-Type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index d5ff3f88f2627be299d8a9d214302e17dbdf0f11..300b692a6b8dcb19000a8301732364dc40fffd2c 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -141,6 +141,11 @@ const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa",
// https://wicg.github.io/webusb
const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT};
+// Make sendBeacon throw for a Blob with a non simple type.
+const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{
+ "SendBeaconThrowForBlobWithNonSimpleType",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
#if defined(OS_ANDROID)
// Allow videos to autoplay without a user gesture if muted.
const base::Feature kAutoplayMutedVideos{"AutoplayMutedVideos",
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698