🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Sep 21, 2022

Summary

Accept "HTTP/2.0 200" as a valid statusText for successful requests to make ajax tests pass in iOS 9. At this point, normalizing this in code doesn't seem to make a lot of sense.

Screenshot of the current test failure:
Screen Shot 2022-09-21 at 14 18 29

Checklist

  • New tests have been added to show the fix or feature works
  • Grunt build and unit tests pass locally with these changes
  • If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com

Accept "HTTP/2.0 200" as a valid `statusText` for successful requests
to make ajax tests pass in iOS 9. At this point, normalizing this in code
doesn't seem to make a lot of sense.
@mgol mgol added this to the 3.6.2 milestone Sep 21, 2022
@mgol mgol self-assigned this Sep 21, 2022
@mgol
Copy link
Member Author

mgol commented Sep 21, 2022

It's hard to test it as it only happens with HTTP 2 servers but we print the real value in parens so it should be fine.

@mgol
Copy link
Member Author

mgol commented Sep 21, 2022

I tested this on jQuery TestSwarm from a temporary Jenkins job: https://swarm.jquery.org/result/4460456

Screenshot from iOS 9:
Screen Shot 2022-09-21 at 14 25 21

It works!

@mgol mgol merged commit d051e0e into jquery:3.x-stable Sep 21, 2022
@mgol mgol deleted the ios9-tests branch September 21, 2022 15:46
@mgol mgol removed the Needs review label Sep 21, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants