Commit e70df53c authored by Yao Xiao's avatar Yao Xiao Committed by Commit Bot

Whitelist WebFeatures DownloadInSandbox

To get a sense of which sites are having sandboxed download, so we might
be able to provide evidence that the blocking is worthwhile.

Bug: 539938
Change-Id: I672077892064b0f156a78aac1ff5be044f6c3ef8
Reviewed-on: https://chromium-review.googlesource.com/c/1356890Reviewed-by: default avatarBryan McQuade <bmcquade@chromium.org>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613305}
parent 1464fba3
......@@ -76,6 +76,10 @@ bool IsAllowedUkmFeature(blink::mojom::WebFeature feature) {
WebFeature::kSignedExchangeInnerResponseInMainFrame,
WebFeature::kSignedExchangeInnerResponseInSubFrame,
WebFeature::kWebShareShare,
WebFeature::kHTMLAnchorElementDownloadInSandboxWithUserGesture,
WebFeature::kHTMLAnchorElementDownloadInSandboxWithoutUserGesture,
WebFeature::kNavigationDownloadInSandboxWithUserGesture,
WebFeature::kNavigationDownloadInSandboxWithoutUserGesture,
}));
return opt_in_features->count(feature);
}
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