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(iOS): add launch-argument to disable WebKit security. #4429

Merged
merged 6 commits into from Mar 30, 2024

Conversation

asafkorem
Copy link
Contributor

Adds a new feature toggle, detoxDisableWebKitSecurity, controlled through a launch argument, initially set to false.

This feature is particularly useful for testing scenarios involving web views and iframes that have CORS-protected content.
However, turning off web security might result in some pages not loading as expected, for example PCI DSS-compliant pages.

Given the possibility of encountering errors on pages with rigorous security measures, I've tweaked the default setting for this bypass technique and added the feature-flag to enable the bypass.

@asafkorem asafkorem merged commit c92ee73 into master Mar 30, 2024
7 checks passed
@asafkorem asafkorem self-assigned this Mar 30, 2024
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

1 participant