Commit 7641823d authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

[COOP] reporting: Turn on the flags used in the Origin Trial.

COOP reporting is gated behind:

1) An Origin Trial:
https://developers.chrome.com/origintrials/#/view_trial/2780972769901281281

2) Use of the Cross-Origin-Opener-Policy(-Report-Only) HTTP header with
   the "report-to" attribute.

3) The following features used as "kill-switch":
   - CrossOriginOpenerPolicyReportingOriginTrial
   - CrossOriginOpenerPolicyAccessReporting

This patch turns the flags from (3) on to match with the future finch config.

[specification]:
https://github.com/whatwg/html/pull/5518

[explainer]:
https://github.com/camillelamy/explainers/blob/master/coop_reporting.md

[intent-to-prototype]:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h5s3SMpF8QI

[intent-to-prototype-review]:
https://docs.google.com/spreadsheets/d/1g8sekkR7J_nYf5WFUSkgllxujrZEYD-R77K4vofDVm8/edit#gid=1681607078&range=H309

[intent-to-experiment]:
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/JhRU2d7RQ_k/eu5Jx3jIAwAJ

[intent-to-experiment-review]:
https://docs.google.com/spreadsheets/d/1g8sekkR7J_nYf5WFUSkgllxujrZEYD-R77K4vofDVm8/edit#gid=1681607078&range=H404

Bug: 1116413
Change-Id: I2ca66ce3a9228602ff2e471b9b7b8f6cde418e37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379774Reviewed-by: default avatarCamille Lamy <clamy@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803187}
parent d4adfd37
......@@ -85,13 +85,11 @@ const base::Feature kProactivelyThrottleLowPriorityRequests{
const base::Feature kCrossOriginOpenerPolicy{"CrossOriginOpenerPolicy",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enables Cross-Origin-Opener-Policy reporting API origin trial. Serves a dual
// purpose:
// 1) Disable the field trial up until it gets approuved.
// 2) Used as a kill-switch during the experiment.
// Enables Cross-Origin-Opener-Policy reporting API origin trial. It will be
// used as a kill switch during the experiment.
const base::Feature kCrossOriginOpenerPolicyReportingOriginTrial{
"CrossOriginOpenerPolicyReportingOriginTrial",
base::FEATURE_DISABLED_BY_DEFAULT};
base::FEATURE_ENABLED_BY_DEFAULT};
// Enables Cross-Origin Opener Policy (COOP) reporting.
// https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e
......@@ -101,8 +99,7 @@ const base::Feature kCrossOriginOpenerPolicyReporting{
// Enables Cross-Origin Opener Policy (COOP) access reporting.
// https://github.com/camillelamy/explainers/blob/master/coop_reporting.md#report-blocked-accesses-to-other-windows
const base::Feature kCrossOriginOpenerPolicyAccessReporting{
"CrossOriginOpenerPolicyAccessReporting",
base::FEATURE_DISABLED_BY_DEFAULT};
"CrossOriginOpenerPolicyAccessReporting", base::FEATURE_ENABLED_BY_DEFAULT};
// Enables Cross-Origin Embedder Policy (COEP).
// https://github.com/mikewest/corpp
......
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