Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make COOP+COEP do not imply crossOriginIsolated. #6098

Merged

Commits on Dec 17, 2020

  1. Make COOP+COEP do not imply crossOriginIsolated.

    The [specification] currently requires [COOP] + [COEP] to give access to
    crossOriginIsolated capabilities like SharedArrayBuffer.
    
    Some platforms can't easily support multiple processes (like Android
    Webview). Therefore, they can't really support crossOriginIsolated.
    However the are no strong reasons for them not to enforce COEP (and
    maybe COOP) when their associated headers are present.
    
    It would be great enforcing COEP (and maybe COOP) on all platforms,
    desptie the lack of crossOriginIsolated capabilities.
    
    This patch makes the specification to allow (instead of requiring)
    platform to set the crossOriginIsolated flag when both COOP and COEP are
    used.
    
    Setting crossOriginIsolated becomes platform dependent. In exchange, we
    can enforce COEP (and COOP) in a non platform dependent way, without
    conflicting with the specification about crossOriginIsolated.
    
    [Bug]: whatwg#6060
    
    [specification]:
    https://html.spec.whatwg.org/#cross-origin-opener-policies
    
    [COOP]:
    https://html.spec.whatwg.org/#cross-origin-opener-policy
    
    [COEP]:
    https://html.spec.whatwg.org/#coep
    ArthurSonzogni authored and domenic committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    7480ee1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    075c677 View commit details
    Browse the repository at this point in the history
  3. Editorial fixes

    domenic committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    b955b10 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f28344f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2020

  1. Configuration menu
    Copy the full SHA
    7f36cd8 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. wording nit

    annevk committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    9c2fd1f View commit details
    Browse the repository at this point in the history