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

Add unsafe-no-cors mode #1533

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Nov 7, 2022

  1. Add unsafe-no-cors mode

    We identified a potential need for a more sustainable no-cors mode in discussion
    surrounding FedCM. The purpose is to create a browser-process priveleged mode
    that will not fail the Access-Control-Allow-Origin CORS checks while otherwise
    behaving like a normal CORS request.
    
    Here are the deviations I have made from cors mode to make unsafe-no-cors are:
    
    - do not perform the "CORS check" (ACAO/ACAC)
    - allow the request to set a new omit origin flag that forces omission of the Origin header
    - require a request to have a policy container specified (via the client is allowed)
    - require the service worker mode to not be all
    
    Because this is such an unsafe mode I added an explanation inline with the other
    definitions of request modes and a warning about concerns and hand-waves about the
    client's agent cluster.
    
    Happy to get feedback on this draft!
    bvandersloot-mozilla committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    8fcb0ee View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Make first round of changes

    "stable no-cors" vision
    bvandersloot-mozilla committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    ae04837 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

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

Commits on Nov 30, 2022

  1. Configuration menu
    Copy the full SHA
    9a4f343 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7356349 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

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