| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Adrian Niculescu.
|
Sorry, something went wrong.
- Added error handling for callback->Call() return value - Changed argument order from (key, value) to (value, key, searchParams) - Use get_entries() iterator to correctly handle duplicate keys - Added support for optional thisArg parameter - Added unit tests for forEach
| Back | FazBrowse Home | New Git URL |
Fixes URLSearchParams.forEach() to match the spec.
Equivalent fix for iOS: NativeScript/ios#327
Problem
Calling url.searchParams.forEach() in NativeScript Android crashed with an uncaught NativeScriptException.
Fixes
Changes
Known Limitations (pre-existing)
The entries() and values() methods still use get_keys() + get() which doesn't handle duplicate keys correctly.