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

Workaround Object.freeze() for JSI hosted object. #5

Merged
merged 1 commit into from
Dec 16, 2019
Merged

Workaround Object.freeze() for JSI hosted object. #5

merged 1 commit into from
Dec 16, 2019

Conversation

Kudo
Copy link
Owner

@Kudo Kudo commented Dec 16, 2019

Although facebook/react-native#27013 should be the correct solution to fix Kudo/react-native-v8#27, considering the PR has no progress for a while, I should have some alternatives.
Moreover, even the PR being merged, old RN such as 0.59 or 0.60 may not include the fixes.
That is why here to have the workaround and patch V8 internally which removing the Object.freeze() w/ interceptors check.

@Kudo Kudo merged commit 0657f57 into master Dec 16, 2019
@Kudo Kudo deleted the fix_27 branch December 16, 2019 07:34
@coder-wbw coder-wbw mentioned this pull request Aug 17, 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.

Error "Malformed calls from JS: field sizes are different" (caused by "Cannot freeze") occurs on 0.60.5
1 participant