Remove enable-portals and enable-portals-cross-origin flags.
Fixed: 1419226,1419227
Change-Id: Ied9b5c845b6cd97b589facabb4dae95c00eed0a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338519
Auto-Submit: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117529}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index ea3fce5..b7c5b98 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -6886,14 +6886,6 @@
flag_descriptions::kEnableFencedFramesDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kFencedFrames)},
- {"enable-portals", flag_descriptions::kEnablePortalsName,
- flag_descriptions::kEnablePortalsDescription, kOsAll,
- FEATURE_VALUE_TYPE(blink::features::kPortals)},
- {"enable-portals-cross-origin",
- flag_descriptions::kEnablePortalsCrossOriginName,
- flag_descriptions::kEnablePortalsCrossOriginDescription, kOsAll,
- FEATURE_VALUE_TYPE(blink::features::kPortalsCrossOrigin)},
-
{"storage-access-api", flag_descriptions::kStorageAccessAPIName,
flag_descriptions::kStorageAccessAPIDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kStorageAccessAPI)},
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
index 62a3f453..1c0c3f0 100644
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -2942,16 +2942,6 @@
"expiry_milestone": 92
},
{
- "name": "enable-portals",
- "owners": [ "jbroman", "//third_party/blink/renderer/core/html/portal/OWNERS" ],
- "expiry_milestone": 110
- },
- {
- "name": "enable-portals-cross-origin",
- "owners": [ "jbroman", "//third_party/blink/renderer/core/html/portal/OWNERS" ],
- "expiry_milestone": 110
- },
- {
"name": "enable-power-sounds",
"owners": [ "afakhry", "bicioglu", "hongyulong", "nupurjain" ],
"expiry_milestone": 123
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index a358451..792cbbc 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -1180,17 +1180,6 @@
"When enabled, Chrome will attempt to connect to the system tracing "
"service";
-const char kEnablePortalsName[] = "Enable Portals.";
-const char kEnablePortalsDescription[] =
- "Portals are an experimental web platform feature that allows embedding"
- " and seamless transitions between pages."
- " See https://github.com/WICG/portals and https://wicg.github.io/portals/";
-
-const char kEnablePortalsCrossOriginName[] = "Enable cross-origin Portals.";
-const char kEnablePortalsCrossOriginDescription[] =
- "Allows portals to load cross-origin URLs in addition to same-origin ones."
- " Has no effect if Portals are not enabled.";
-
const char kEnableTranslateSubFramesName[] = "Translate sub frames";
const char kEnableTranslateSubFramesDescription[] =
"Enable the translation of sub frames (as well as the main frame)";
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 989955f..d8575cd 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -716,12 +716,6 @@
extern const char kEnablePerfettoSystemTracingName[];
extern const char kEnablePerfettoSystemTracingDescription[];
-extern const char kEnablePortalsName[];
-extern const char kEnablePortalsDescription[];
-
-extern const char kEnablePortalsCrossOriginName[];
-extern const char kEnablePortalsCrossOriginDescription[];
-
extern const char kEnablePixelCanvasRecordingName[];
extern const char kEnablePixelCanvasRecordingDescription[];