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

Remove GWT's polyfill for Map #10062

Open
niloc132 opened this issue Dec 15, 2024 · 0 comments
Open

Remove GWT's polyfill for Map #10062

niloc132 opened this issue Dec 15, 2024 · 0 comments

Comments

@niloc132
Copy link
Member

GWT contains a polyfill for Map, used to implement java.util.Map where the key was a string (and avoid hashing the string in JS).

The polyfill contains implementation details for sufficiently old browsers that

  • did not support Map at all
  • threw an exception instead of using the iterator protocol (ff 24-25 apparently)

Additionally the polyfill itself has special handling for browsers that didn't correctly support Object.create(null).

The jsinterop mapping supports old browsers that couldn't use delete as a method name, which is no longer needed.

niloc132 added a commit to niloc132/gwt that referenced this issue Dec 15, 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

No branches or pull requests

1 participant