FileSystemAccess feature flag was split into OPFS and non-OPFS variants

Chromium change:

https://source.chromium.org/chromium/chromium/src/+/2198f209b9fae93b40051a6723e52fd5b78ad768

commit 2198f209b9fae93b40051a6723e52fd5b78ad768
Author: Daseul Lee <dslee@chromium.org>
Date:   Mon Sep 12 16:11:01 2022 +0000

    Reland "[FSA API] Split runtime enabled feature flags between OPFS and non-OPFS API."

    This is a reland of commit be32a398ca41205a56543cc766595c3f36739e04

    Compared to the original change, this excludes the BUILD file that enables a test on Android. Since the flag was not enabled yet, this >

    Original change's description:
    > [FSA API] Split runtime enabled feature flags between OPFS and non-OPFS API.
    >
    > This will allow us to enable only OPFS on Android.
    >
    > Change-Id: I88f8de64b246565901cca340bcc31b54865d0be0
    > Bug: 1354273
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3788503
    > Reviewed-by: Austin Sullivan <asully@chromium.org>
    > Reviewed-by: Kent Tamura <tkent@chromium.org>
    > Commit-Queue: Daseul Lee <dslee@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#1043459}

    Bug: 1354273
This commit is contained in:
Emerick Rogul
2022-10-13 16:51:35 -04:00
parent 944d711851
commit 5c25fecf16
+1 -1
View File
@@ -54,7 +54,7 @@ void BraveContentRendererClient::
// These features don't have dedicated WebRuntimeFeatures wrappers.
blink::WebRuntimeFeatures::EnableFeatureFromString("DigitalGoods", false);
if (!base::FeatureList::IsEnabled(blink::features::kFileSystemAccessAPI)) {
blink::WebRuntimeFeatures::EnableFeatureFromString("FileSystemAccess",
blink::WebRuntimeFeatures::EnableFeatureFromString("FileSystemAccessLocal",
false);
blink::WebRuntimeFeatures::EnableFeatureFromString(
"FileSystemAccessAPIExperimental", false);