-
Notifications
You must be signed in to change notification settings - Fork 134
URLSearchParams: keys is not a function #1048
Comments
@DomenicoCasillo, thanks for the issue, could you please post the full polyfill.io url you are using and the full user-agent of the browser which is seeing the issue please? With that information we should hopefully be able to find the cause of the problem |
I've updated the initial post with additional details. I can add that even |
Thanks @DomenicoCasillo - I have confirmed the issue now 👍 This is happening because the polyfill has not been applied, you can see that if you run
That is happening because Firefox 37 passes all the checks in this section of code: We need to update that section of code to check for the methods you've mentioned: If you submit a pull-request which does that, I'm happy to review it 👍 |
I'll take a look and patch the needed pieces. Update : |
Bug Report
What
URLSearchParams polyfill (v3) seems to be incomplete in Firefox 37 Desktop.
Details
The urlParams object is correctly created but on the second line, an error is triggered with
TypeError: urlParams.keys is not a function
Browser: Firefox 37 Desktop (Mozilla/5.0 (Windows NT 6.1; rv:37.0) Gecko/20100101 Firefox/37.0)
Device: Desktop
Polyfill URL: https://polyfill.io/v3/polyfill.min.js?features=Promise.prototype.finally%2CPromise%2CURLSearchParams%2CArray.prototype.flatMap
The text was updated successfully, but these errors were encountered: