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

URLSearchParams : [err] keys is not a function #1050

Conversation

romainmenke
Copy link
Collaborator

@romainmenke romainmenke commented May 7, 2021

fixes : #1048


As far as I can tell there where 2 issues.

  • the detect script was too broad and didn't target new features (e.g. URLSearchParams.prototype.sort)
  • Array.from was used but with it's own fallback and without declaring it as a dependency. Seems to work better with the Array.from polyfill.

Some WPT tests included here failed, but nothing truly major imho.


CI doesn't run on Firefox 37

test url : http://bs-local.com:9876/test?includePolyfills=yes&always=no&feature=URL
browserstack url : https://live.browserstack.com/dashboard#os=OS+X&os_version=El+Capitan&browser=Firefox&browser_version=37.0&zoom_to_fit=true&full_screen=true&resolution=responsive-mode&speed=1

Test URLSearchParams iterable methods covers the issue.
This test was previously commented out.

Screenshot 2021-05-07 at 22 26 35

@romainmenke romainmenke requested a review from a team as a code owner May 7, 2021 20:22
@origamiserviceuser origamiserviceuser added this to incoming in Origami ✨ May 7, 2021
@github-actions github-actions bot added the library Relates to an Origami library label May 7, 2021
Origami ✨ automation moved this from incoming to active May 7, 2021
Copy link
Owner

@JakeChampion JakeChampion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @romainmenke 🎉

@JakeChampion JakeChampion merged commit 7966b2e into JakeChampion:master May 7, 2021
Origami ✨ automation moved this from active to complete May 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2022
@robertboulton robertboulton removed this from Done in Origami ✨ Jul 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
library Relates to an Origami library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URLSearchParams: keys is not a function
2 participants