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

Does this polyfill works for chrome version 38 ? #84

Open
gaganhn opened this issue Jul 21, 2023 · 3 comments
Open

Does this polyfill works for chrome version 38 ? #84

gaganhn opened this issue Jul 21, 2023 · 3 comments

Comments

@gaganhn
Copy link

gaganhn commented Jul 21, 2023

I see there are errors for reflect.js in my console.
Screenshot 2023-07-21 at 3 41 10 PM

@tvcutsem
Copy link
Owner

Yes, this polyfill should work on chrome v38, but as noted in the readme:

Chrome (>= v19 && <= v37) used to support proxies behind a flag (chrome://flags/#enable-javascript-harmony) but Chrome v38 removed the Proxy constructor. As a result, this library cannot patch the harmony-era Proxy object on Chrome v38 or above.

Can you post more diagnostics on the error (including a full stack trace)? Does the error appear only on Chrome v38 or also on newer/latest releases?

@tvcutsem
Copy link
Owner

To clarify, this library cannot properly emulate ES6+ Proxy objects on Chrome v38, but can support the Reflect API.

@gaganhn
Copy link
Author

gaganhn commented Jul 27, 2023

Oh,
I mainly wanted this polyfill for Proxy.

Thanks for reply!

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

No branches or pull requests

2 participants