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

feat(WPTs): add in idlharness.any.js test #1689

Merged
merged 1 commit into from Oct 7, 2022

Conversation

KhafraDev
Copy link
Member

@KhafraDev KhafraDev commented Oct 7, 2022

Fixes ~20 'bugs' in fetch. Note that every change was done for a reason and I could explain why if you'd like.


1 failed test. I could easily fix it but the test itself makes no sense (Response.json.length should be 0). This test also fails in chrome and Deno (only other environments that implement Response.json that I bothered checking).

However node now passes more of fetch's idlharness tests than any other platform, so that's cool.

@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2022

Codecov Report

Base: 94.05% // Head: 94.02% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (804f7eb) compared to base (a04cf3d).
Patch coverage: 81.25% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1689      +/-   ##
==========================================
- Coverage   94.05%   94.02%   -0.04%     
==========================================
  Files          53       53              
  Lines        4897     4904       +7     
==========================================
+ Hits         4606     4611       +5     
- Misses        291      293       +2     
Impacted Files Coverage Δ
lib/fetch/body.js 96.19% <ø> (-0.14%) ⬇️
lib/fetch/headers.js 94.48% <ø> (ø)
lib/fetch/request.js 84.76% <66.66%> (-0.32%) ⬇️
lib/fetch/response.js 94.50% <100.00%> (+0.21%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina
Copy link
Member

mcollina commented Oct 7, 2022

where can we find that stats about compliance of our version vs others?

@KhafraDev KhafraDev merged commit 552c235 into nodejs:main Oct 7, 2022
@KhafraDev KhafraDev deleted the idlharness branch October 7, 2022 17:10
metcoder95 pushed a commit to metcoder95/undici that referenced this pull request Dec 26, 2022
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 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.

None yet

4 participants