From 1c0f6cb5615d66d90ca8fc931149e41aafa2cb61 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Mon, 12 Jan 2026 14:12:42 -0500 Subject: [PATCH] test: reveal wpt evaluation errors in status files --- test/common/wpt.js | 2 +- test/wpt/status/web-locks.json | 4 ++-- test/wpt/status/webidl.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/common/wpt.js b/test/common/wpt.js index 227734171f9121..584f3c177ab0be 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -712,7 +712,7 @@ class WPTRunner { spec, { status: NODE_UNCAUGHT, - name: 'evaluation in WPTRunner.runJsTests()', + name: `${err}`, message: err.message, stack: inspect(err), }, diff --git a/test/wpt/status/web-locks.json b/test/wpt/status/web-locks.json index f8f4c1feabf9da..97a0a7900d64c5 100644 --- a/test/wpt/status/web-locks.json +++ b/test/wpt/status/web-locks.json @@ -3,7 +3,7 @@ "fail": { "note": "Flaky on ppc, linux x64 and s390x #59142", "flaky": [ - "evaluation in WPTRunner.runJsTests()" + "Error: this uncaught rejection is expected" ] } }, @@ -50,4 +50,4 @@ "storage-buckets.tentative.https.any.js": { "skip": "Node.js does not implement Storage Buckets API" } -} +} diff --git a/test/wpt/status/webidl.json b/test/wpt/status/webidl.json index b29a000a9d8b92..26a6e44f484149 100644 --- a/test/wpt/status/webidl.json +++ b/test/wpt/status/webidl.json @@ -2,7 +2,7 @@ "ecmascript-binding/class-string-named-properties-object.window.js": { "fail": { "expected": [ - "evaluation in WPTRunner.runJsTests()" + "ReferenceError: Window is not defined" ] } }, @@ -28,7 +28,7 @@ "Global object's operation throws when called on incompatible object", "Global object's getter works when called on null / undefined", "Global object's setter works when called on null / undefined", - "evaluation in WPTRunner.runJsTests()" + "ReferenceError: addEventListener is not defined" ] } },