Commit 3fb36658 authored by Lu Huang's avatar Lu Huang Committed by Commit Bot

Add a blink feature flag to control web app URL handling features.

design doc: https://docs.google.com/document/d/19dGklalQTRtRrG3PKrVbDRmYPLHGLnsGEwUaed7sAFQ/edit?usp=sharing

design overview cl: https://chromium-review.googlesource.com/c/chromium/src/+/2393252

Chrome status: https://www.chromestatus.com/feature/5739732661174272

Bug: 1072058
Change-Id: I6ef280af95514e0ac1abfacdcf6b113ee7b7af57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2444439
Commit-Queue: Lu Huang <luhua@microsoft.com>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarMarijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814308}
parent 36d88be8
...@@ -757,5 +757,11 @@ const base::Feature kPreferCompositingToLCDText = { ...@@ -757,5 +757,11 @@ const base::Feature kPreferCompositingToLCDText = {
const base::Feature kLogUnexpectedIPCPostedToBackForwardCachedDocuments{ const base::Feature kLogUnexpectedIPCPostedToBackForwardCachedDocuments{
"LogUnexpectedIPCPostedToBackForwardCachedDocuments", "LogUnexpectedIPCPostedToBackForwardCachedDocuments",
base::FEATURE_ENABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
// Controls URL handling feature in web apps. Controls parsing of "url_handlers"
// field in web app manifests. See explainer for more information:
// https://github.com/WICG/pwa-url-handler/blob/master/explainer.md
const base::Feature kWebAppEnableUrlHandlers{"WebAppEnableUrlHandlers",
base::FEATURE_DISABLED_BY_DEFAULT};
} // namespace features } // namespace features
} // namespace blink } // namespace blink
...@@ -309,6 +309,8 @@ BLINK_COMMON_EXPORT extern const base::Feature kPreferCompositingToLCDText; ...@@ -309,6 +309,8 @@ BLINK_COMMON_EXPORT extern const base::Feature kPreferCompositingToLCDText;
BLINK_COMMON_EXPORT extern const base::Feature BLINK_COMMON_EXPORT extern const base::Feature
kLogUnexpectedIPCPostedToBackForwardCachedDocuments; kLogUnexpectedIPCPostedToBackForwardCachedDocuments;
BLINK_COMMON_EXPORT extern const base::Feature kWebAppEnableUrlHandlers;
} // namespace features } // namespace features
} // namespace blink } // namespace blink
......
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