From e950d4bc734747700ef986c18c1099ef3ba0cc7e Mon Sep 17 00:00:00 2001 From: camillelamy <33488028+camillelamy@users.noreply.github.com> Date: Wed, 24 Jun 2020 19:33:23 +0200 Subject: [PATCH] Add cross-origin opener policy This commit adds the notion of cross-origin opener policy (COOP). COOP allows websites to restrict which origins they share their browsing context group with. annevk wrote a first draft of the behavior of COOP here: https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e. This takes that draft and merges it into the spec, with many updates along the way. Closes #3740. Closes #4580. Closes #4921. Closes #5172. Co-authored-by: clamy Co-authored-by: Anne van Kesteren Co-authored-by: Domenic Denicola --- source | 583 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 494 insertions(+), 89 deletions(-) diff --git a/source b/source index b9fcb03ebd2..c8271516584 100644 --- a/source +++ b/source @@ -2455,6 +2455,14 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • `Link` header
  • +

    The following terms are defined in Structured Field Values for HTTP:

    + +
      +
    • structured header
    • +
    • structured header tokens
    • +
    +

    The following terms are defined in MIME Sniffing: