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

Fix websockets web platform tests #2961

Closed

Conversation

sherryzy
Copy link
Contributor

b/332367155

Copy link
Contributor

@johnxwork johnxwork left a comment

Choose a reason for hiding this comment

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

Great find! The wpt server's handling code could be this: http://shortn/_m7uNJrMDP3 Likely the wpt server changes the response file type or connection type when "pipe=sub" is provided. Something's not working and we are very close to the issue now, but we could debug that after the merge.

@@ -2,7 +2,7 @@
<title>WebSockets: Send/Receive blob, blob size less than network array buffer</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../constants.js?pipe=sub></script>
<script src=../constants.js></script>
Copy link
Contributor

Choose a reason for hiding this comment

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

What does having/not having the pipe=sub mean?

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'm not so sure, but see John's comments above. I just found it's changed in upstream here: https://chromium-review.googlesource.com/c/chromium/src/+/2848645 and it resolves the timeout issue. I'm still trying to understand the root cause, but we can figure it out later after the merge?

@sherryzy
Copy link
Contributor Author

This may not be the correct fix. The real issue is currently version of wpt server doesn't support HTTP2, which cause those tests timeout. To fix the issue, we have to update web_platform_tests repo to a later version which requires a much larger effort. Close this fix for now.

@sherryzy sherryzy closed this Apr 17, 2024
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.

3 participants