-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix invalid urlpattern test(s) #49782
base: master
Are you sure you want to change the base?
Conversation
There are no reviewers for this pull request. Please reach out on the chat room to get help with this. Thank you! |
cc @sisidovski |
Aside: are there no tests where port is assigned to something that is clearly not a port? |
d66cd3c
to
1e055be
Compare
@annevk I'm not sure. By the way, port is not the only wrong test here. As I progress with Ada's implementation, it seems |
1e055be
to
68ffecf
Compare
68ffecf
to
153c3e9
Compare
@annevk I've added a new commit that includes a test for a failing port field. |
Fixes whatwg/urlpattern#239
Port calls canonicalizePort which just calls url parser setter, which removes the leading trailing c0 whitespace characters from the input.
cc @annevk @lucacasonato @sisidovski