From 8eed3b442b214f678b80dbcc7dca07eeaa1e26ff Mon Sep 17 00:00:00 2001 From: "Ngo Iok Ui (Wu Yu Wei)" Date: Sat, 15 Jun 2024 13:22:42 +0900 Subject: Update WebIDL.py (#32495) * Update WebIDL.py * Update WebIDL.py * Add builtin-array.patch * Fix CodegenRust.py and Configuration.py * Fix missing downcasts * mach fmt * Update check and comment to explain why we need this check * Update Global of DissimilarOriginWindow.webidl --- third_party/WebIDL/tests/test_enum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/WebIDL/tests/test_enum.py') diff --git a/third_party/WebIDL/tests/test_enum.py b/third_party/WebIDL/tests/test_enum.py index 56c6b3f64aa..4eb26f7eaf9 100644 --- a/third_party/WebIDL/tests/test_enum.py +++ b/third_party/WebIDL/tests/test_enum.py @@ -86,8 +86,8 @@ def WebIDLTest(parser, harness): }; """ ) - results = parser.finish() - except: + parser.finish() + except WebIDL.WebIDLError: threw = True harness.ok(threw, "Should not allow a bogus default value for an enum") -- cgit v1.2.3