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

[main] allow empty string as first parameter to fetch #2152

Merged
merged 4 commits into from
Sep 19, 2023

Conversation

jorupp
Copy link
Contributor

@jorupp jorupp commented Sep 18, 2023

Allow calling fetch with an empty string as the first parameter.

Fixes #2419.

@@ -1628,6 +1628,124 @@ export class AjaxTests extends AITestClass {
}]
});

this.testCaseAsync({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I cloned the two test cases above this that were testing for null/undefined, but I didn't completely understand what all of the setup/checks were that were necessary.

@MSNev MSNev added this to the 3.0.3 milestone Sep 18, 2023
@MSNev
Copy link
Collaborator

MSNev commented Sep 18, 2023

@jorupp can you please review and sign the CLA (if acceptable). I've already backported and committed your changes to master

@jorupp
Copy link
Contributor Author

jorupp commented Sep 19, 2023

@jorupp can you please review and sign the CLA (if acceptable). I've already backported and committed your changes to master

The guy from our legal team hasn't gotten back to me yet - I'm planning to bug him again in the morning (US CT), but I don't expect I'll have any trouble getting him to sign off.

@jorupp
Copy link
Contributor Author

jorupp commented Sep 19, 2023

@microsoft-github-policy-service agree company="Rightpoint"

@jorupp
Copy link
Contributor Author

jorupp commented Sep 19, 2023

@jorupp can you please review and sign the CLA (if acceptable). I've already backported and committed your changes to master

@MSNev the original comment from the CLA bot seems to have disappeared for me, but hopefully my previous comment will work for it.

@MSNev MSNev merged commit 1e369eb into microsoft:main Sep 19, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants