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(fetch): add missing duplex option #36268

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

KhafraDev
Copy link
Contributor

Adds missing duplex: 'half' option which caused test to reject with a TypeError rather than a DOMException.

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

To be sure, does this make the test pass in Chrome? And previously it did not pass?

@KhafraDev
Copy link
Contributor Author

This test is failing in every browser currently (see https://wpt.fyi/results/fetch/api/abort/general.any.html?label=experimental&label=master&aligned).

With this patch, this is the output:
image

@KhafraDev
Copy link
Contributor Author

any chance of having this merged? this is causing issues for us still

@annevk annevk enabled auto-merge (squash) February 22, 2023 15:21
@annevk
Copy link
Member

annevk commented Feb 22, 2023

@KhafraDev thanks for the ping. I rebased this to see if we can get past the bots. I'm guessing browsers haven't started working on upload streams yet, but the logic here seems sound to me.

@annevk annevk merged commit 60ed414 into web-platform-tests:master Feb 22, 2023
@KhafraDev KhafraDev deleted the missing-duplex-option branch February 22, 2023 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants