From 9c182a922045709f99b31ad8d5b0a78619264d43 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Fri, 31 May 2024 16:51:21 +0200 Subject: [PATCH] fix(testharness): copy-pasta in assert_throws_dom (#46566) This regressed in #46487 --- resources/testharness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/testharness.js b/resources/testharness.js index 3f2c1fe3b18d5a..61cd18511151f3 100644 --- a/resources/testharness.js +++ b/resources/testharness.js @@ -2174,7 +2174,7 @@ func = funcOrConstructor; description = descriptionOrFunc; assert(maybeDescription === undefined, - "Too many args passed to no-constructor version of promise_rejects_dom, or accidentally explicitly passed undefined"); + "Too many args passed to no-constructor version of assert_throws_dom, or accidentally explicitly passed undefined"); } assert_throws_dom_impl(type, func, description, "assert_throws_dom", constructor) }