github web-platform-tests/wpt merge_pr_46266

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
16 months ago

Check thread id is in current frames (#46266)

On Chromium Windows bot, we are seeing KeyError below. Check the thread
id is in sys._current_frames() before format_stack, otherwise do not
include the stack in the error message.

Error message:
00:02:16.943 WARNING: Exception in TestExecutor.run:
File "C:\b\s\w\ir\third_party\wpt_tools\wpt\tools\wptrunner\wptrunner\executors\base.py", line 219, in run
message += "".join(traceback.format_stack(sys._current_frames()[executor.ident]))
KeyError: 8372

Don't miss a new wpt release

NewReleases is sending notifications on new releases.