Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/common/wpt/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ const timeout = setTimeout(() => {
// eslint-disable-next-line no-undef
add_completion_callback((_, status) => {
clearTimeout(timeout);
// Match browsers: exceptions thrown after done() do not fail the test.
process.on('uncaughtException', () => {});
parentPort.postMessage({
type: 'completion',
status,
Expand Down
Loading