From 2c7c130f0a7193c4a497d40f07774d08fbb43ecf Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Mon, 12 Jul 2021 21:15:07 +0200 Subject: chore(wpt): Mark a WPT test as failed if it exits before completion (#11371) Currently, a WPT test is considered failed if its status code is anything other than 0, regardless of whether the test suite completed running or not, and any subtests that haven't finished running are not considered to be failures. But a test can exit with a zero status code before it has completed running, if the event loop has run out of tasks because of a bug in one of the ops, leading to false positives. This change fixes that. --- tools/wpt/expectation.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'tools/wpt') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index fbab59d68..4124efe7c 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -2252,12 +2252,7 @@ "enqueue-with-detached-buffer.window.html": false }, "readable-streams": { - "async-iterator.any.html": [ - "Async-iterating a pull source manually", - "next() rejects if the stream errors", - "return() does not rejects if the stream has not errored yet", - "next() that succeeds; next() that reports an error; next()" - ], + "async-iterator.any.html": false, "bad-strategies.any.html": true, "bad-underlying-sources.any.html": true, "cancel.any.html": true, @@ -2799,7 +2794,7 @@ "reading-data-section": { "Determining-Encoding.any.html": true, "FileReader-event-handler-attributes.any.html": true, - "FileReader-multiple-reads.any.html": true, + "FileReader-multiple-reads.any.html": false, "filereader_abort.any.html": true, "filereader_error.any.html": true, "filereader_events.any.html": false, @@ -2825,7 +2820,7 @@ "type-long-settimeout.any.html": true }, "microtask-queuing": { - "queue-microtask-exceptions.any.html": true, + "queue-microtask-exceptions.any.html": false, "queue-microtask.any.html": true } } -- cgit v1.2.3