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

fix(extensions): bypass cors in requests made from background pages #24483

Merged
merged 5 commits into from Aug 3, 2020

Conversation

sentialx
Copy link
Contributor

@sentialx sentialx commented Jul 9, 2020

Description of Change

This PR fixes CORS issues mentioned in #19447 (comment).
Could this be backported to 9-x-y, please?

cc @nornagon

Checklist

Release Notes

Notes: Fixed issues with CORS when making requests from extensions.

@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Jul 9, 2020
@codebytere
Copy link
Member

@sentialx would it be possible to add a test for this?

@sentialx
Copy link
Contributor Author

@codebytere Are the tests okay?

Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@nornagon nornagon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like the tests are failing after i fixed them.

@sentialx
Copy link
Contributor Author

Oh no, I forgot to add <all_urls> to permissions.

@nornagon nornagon merged commit f53aac9 into electron:master Aug 3, 2020
@release-clerk
Copy link

release-clerk bot commented Aug 3, 2020

Release Notes Persisted

Fixed issues with CORS when making requests from extensions.

@trop
Copy link
Contributor

trop bot commented Aug 3, 2020

I was unable to backport this PR to "9-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Aug 3, 2020

I have automatically backported this PR to "10-x-y", please check out #24822

@trop
Copy link
Contributor

trop bot commented Aug 10, 2020

@sentialx has manually backported this PR to "9-x-y", please check out #24915

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.

None yet

3 participants