cloudflare / cloudflare/workerd

Modernize WPT encoding tests that use XHR or ensure we have coverage

Open
#5,392 0 comments 0 reactions 1 assignee Claimed by @npaun View on GitHub
wpt-conformance
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

Some encoding tests, like `replacement-encodings.any.js` and `unsupported-encodings.any.js` use XHR to a data URL just a means of testing behaviour of encoding and decoding.

We have a couple of options available to us:

1. Ask WPT if they'll consider upgrading these tests to use fetch; create a PR if amenable.
2. Otherwise, ensure we have coverage either with existing tests or creating our own version of these tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.