diff options
author | Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me> | 2024-06-15 13:22:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 04:22:42 +0000 |
commit | 8eed3b442b214f678b80dbcc7dca07eeaa1e26ff (patch) | |
tree | f8a232e86616e8e5fd234e7bbb32bed4ff7077f2 /third_party/WebIDL/tests/test_stringifier.py | |
parent | 19067366df28c9131dcbc436bc96a27e64e0a194 (diff) | |
download | servo-8eed3b442b214f678b80dbcc7dca07eeaa1e26ff.tar.gz servo-8eed3b442b214f678b80dbcc7dca07eeaa1e26ff.zip |
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
Diffstat (limited to 'third_party/WebIDL/tests/test_stringifier.py')
-rw-r--r-- | third_party/WebIDL/tests/test_stringifier.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/WebIDL/tests/test_stringifier.py b/third_party/WebIDL/tests/test_stringifier.py index 948be71e4dd..c2052c44e57 100644 --- a/third_party/WebIDL/tests/test_stringifier.py +++ b/third_party/WebIDL/tests/test_stringifier.py @@ -30,7 +30,7 @@ def WebIDLTest(parser, harness): """ ) results = parser.finish() - except: + except WebIDL.WebIDLError: threw = True harness.ok(threw, "Should not allow two 'stringifier;'") @@ -48,7 +48,7 @@ def WebIDLTest(parser, harness): """ ) results = parser.finish() - except: + except WebIDL.WebIDLError: threw = True harness.ok(threw, "Should not allow a 'stringifier;' and a 'stringifier()'") @@ -156,7 +156,7 @@ def WebIDLTest(parser, harness): """ ) results = parser.finish() - except: + except WebIDL.WebIDLError: threw = True harness.ok(threw, "Should not allow ByteString") @@ -173,7 +173,7 @@ def WebIDLTest(parser, harness): """ ) results = parser.finish() - except: + except WebIDL.WebIDLError: threw = True harness.ok(threw, "Should not allow a 'stringifier;' and a stringifier attribute") @@ -190,7 +190,7 @@ def WebIDLTest(parser, harness): """ ) results = parser.finish() - except: + except WebIDL.WebIDLError: threw = True harness.ok(threw, "Should not allow multiple stringifier attributes") |