summaryrefslogtreecommitdiff
path: root/tools/wpt.ts
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-10-10 12:01:01 +0900
committerGitHub <noreply@github.com>2023-10-10 05:01:01 +0200
commit2665ca103e64ae07d7c29d3400d0c37ec691ff50 (patch)
tree97babf0dbda5b2bbcf9b8e5a54bb0c4608419c98 /tools/wpt.ts
parent84c9300aff08a9a1dcb214356f022315cc6736fb (diff)
fix(ext/web): writability of `ReadableStream.from` (#20836)
Fixes a WPT in `URL` and `ReadableStream`. Some unrelated WPT expectation changes due to WPT update.
Diffstat (limited to 'tools/wpt.ts')
-rwxr-xr-xtools/wpt.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/wpt.ts b/tools/wpt.ts
index 8c9d0a447..07f6b6ba9 100755
--- a/tools/wpt.ts
+++ b/tools/wpt.ts
@@ -329,7 +329,10 @@ function assertAllExpectationsHaveTests(
for (const [key, expectation] of Object.entries(parentExpectation)) {
const path = `${parent}/${key}`;
if (!filter.matches(path)) continue;
- if (typeof expectation == "boolean" || Array.isArray(expectation)) {
+ if (
+ (typeof expectation == "boolean" || Array.isArray(expectation)) &&
+ key !== "ignore"
+ ) {
if (!tests.has(path)) {
missingTests.push(path);
}