Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f1e1312

Browse filesBrowse files
panvaMoLow
authored andcommitted
test: fix WPT state when process exits but workers are still running
PR-URL: #47826 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 951cc7b commit f1e1312
Copy full SHA for f1e1312

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Open diff view settings
Collapse file

‎test/common/wpt.js‎

Copy file name to clipboardExpand all lines: test/common/wpt.js
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -613,10 +613,8 @@ class WPTRunner {
613613
}
614614

615615
process.on('exit', () => {
616-
if (this.inProgress.size > 0) {
617-
for (const filename of this.inProgress) {
618-
this.fail(filename, { name: 'Unknown' }, kIncomplete);
619-
}
616+
for (const spec of this.inProgress) {
617+
this.fail(spec, { name: 'Unknown' }, kIncomplete);
620618
}
621619
inspect.defaultOptions.depth = Infinity;
622620
// Sorts the rules to have consistent output

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.