Bug 1648819 [wpt PR 24363] - Fix idlharness timeout when enumerability checks fail...
commit771cab025399e337051e5a0bdd5672266e2a506d
authorAdam Rice <ricea@chromium.org>
Thu, 2 Jul 2020 19:19:29 +0000 (2 19:19 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 3 Jul 2020 09:38:38 +0000 (3 09:38 +0000)
tree929276a8fd28eb7c0c95accb6037220dae8692ee
parent26b3905c69403fb16f1f70179725ecc6f9d3ae30
Bug 1648819 [wpt PR 24363] - Fix idlharness timeout when enumerability checks fail, a=testonly

Automatic update from web-platform-tests
Fix idlharness timeout when enumerability checks fail

Exceptions caused by failed enumerability asserts were not caught,
causing the test to neither fail nor done() to be called, resulting in
the test timing out.

Use step_func() to ensure exceptions from these asserts() are caught.

--

wpt-commits: 6c7192b5706688f0c721ee5ad1f4c17f59a32300
wpt-pr: 24363
testing/web-platform/tests/resources/idlharness.js