From 2665ca103e64ae07d7c29d3400d0c37ec691ff50 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 10 Oct 2023 12:01:01 +0900 Subject: fix(ext/web): writability of `ReadableStream.from` (#20836) Fixes a WPT in `URL` and `ReadableStream`. Some unrelated WPT expectation changes due to WPT update. --- tools/wpt.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/wpt.ts') 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); } -- cgit v1.2.3