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

Feature/allow cross origin isolated #685

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheSlowGrowth
Copy link

@TheSlowGrowth TheSlowGrowth commented May 19, 2021

Please ensure that your pull request fulfills these requirements:

  • The pull request is being made against the master branch
  • Tests for the changes have been added (for bug fixes / features)

What is the purpose of this pull request? (bug fix, enhancement, new feature,...)

new feature - enable cross origin isolation.
This is required to access SharedArrayBuffer among other things. See here:

What changes did you make?

  • Add a --coi commandline argument
  • Add options.coi
  • Add a simple test - still fails, read below

Is there anything you'd like reviewers to focus on?

  1. The test: It fails on both of the two required headers. I'm not sure why that happens, manual testing looks good (Testpage using SharedArrayBuffer in Firefox fails without --coi but works fine with --coi). Looking for advice.

  2. options.coi and options.cors are mutually exclusive. I made the command line version fail. How could I make it fail when using httpServer.createServer(...)?

@TheSlowGrowth TheSlowGrowth force-pushed the feature/Allow-cross-origin-isolated branch from 0c7028c to ef7b79b Compare May 19, 2021 14:54
@HKalbasi
Copy link

HKalbasi commented Jan 8, 2022

Fixes #650

@d3lm
Copy link

d3lm commented Feb 8, 2022

What is the status of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants