We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
process a URLPatternInit is missing null handling in some of the steps, which can result in null being passed through when a string is expected.
null
string
This occurs on step 16:
If init["port"] exists, then set result["port"] to the result of process port for init given init["port"], result["protocol"], and type.
And step 17.3:
Set result["pathname"] to the result of process pathname for init given result["pathname"], result["protocol"], and type.
In both cases, result["protocol"] may be missing. It appears the intent is to pass in an empty string if missing.
result["protocol"]
The text was updated successfully, but these errors were encountered:
cc @youennf
Sorry, something went wrong.
No branches or pull requests
What is the issue with the URL Pattern Standard?
process a URLPatternInit is missing null handling in some of the steps, which can result in
null
being passed through when astring
is expected.This occurs on step 16:
And step 17.3:
In both cases,
result["protocol"]
may be missing. It appears the intent is to pass in an empty string if missing.The text was updated successfully, but these errors were encountered: