Commit ce36e7f7 authored by Tsuyoshi Horo's avatar Tsuyoshi Horo Committed by Commit Bot

Introduce a new feature WebBundlesFromNetwork

Bug: 1018640
Change-Id: Ia71ad149c92d8d125efecc1a285db4548ddf8f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883268Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Reviewed-by: default avatarKunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710039}
parent 82d47e76
......@@ -144,6 +144,7 @@ static const char* kBadFlags[] = {
// "stability and security will suffer".
static const base::Feature* kBadFeatureFlagsInAboutFlags[] = {
&features::kAllowSignedHTTPExchangeCertsWithoutExtension,
&features::kWebBundlesFromNetwork,
#if defined(OS_ANDROID)
&chrome::android::kCommandLineOnNonRooted,
#endif // OS_ANDROID
......
......@@ -669,9 +669,17 @@ const base::Feature kWebAuthCable {
// Controls whether Web Bundles (Bundled HTTP Exchanges) is enabled.
// https://wicg.github.io/webpackage/draft-yasskin-wpack-bundled-exchanges.html
// When this feature is enabled, Chromium can load unsigned Web Bundles local
// file under file:// URL (and content:// URI on Android).
const base::Feature kWebBundles{"WebBundles",
base::FEATURE_DISABLED_BY_DEFAULT};
// When this feature is enabled, Chromium will be able to load unsigned Web
// Bundles file under https: URL and localhost http: URL.
// TODO(crbug.com/1018640): Implement this feature.
const base::Feature kWebBundlesFromNetwork{"WebBundlesFromNetwork",
base::FEATURE_DISABLED_BY_DEFAULT};
// If WebGL Image Chromium is allowed, this feature controls whether it is
// enabled.
const base::Feature kWebGLImageChromium{"WebGLImageChromium",
......
......@@ -139,6 +139,7 @@ CONTENT_EXPORT extern const base::Feature kWebAuth;
CONTENT_EXPORT extern const base::Feature kWebAuthBle;
CONTENT_EXPORT extern const base::Feature kWebAuthCable;
CONTENT_EXPORT extern const base::Feature kWebBundles;
CONTENT_EXPORT extern const base::Feature kWebBundlesFromNetwork;
CONTENT_EXPORT extern const base::Feature kWebContentsOcclusion;
CONTENT_EXPORT extern const base::Feature kWebGLImageChromium;
CONTENT_EXPORT extern const base::Feature kWebPayments;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment