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 635af55

Browse filesBrowse files
lpincaaduh95
authored andcommitted
Revert "test: ensure message event fires in worker message port test"
This reverts commit 9790315. Refs: #59952 PR-URL: #60126 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 70c2080 commit 635af55
Copy full SHA for 635af55

File tree

Expand file treeCollapse file tree

1 file changed

+0
-11
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-11
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-worker-message-port-infinite-message-loop.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-worker-message-port-infinite-message-loop.js
-11Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,3 @@ port2.postMessage(0);
2727
// This is part of the test -- the event loop should be available and not stall
2828
// out due to the recursive .postMessage() calls.
2929
setTimeout(common.mustCall(), 0);
30-
31-
// Assert that the 'message' handler was actually called.
32-
//
33-
// We do not want to assert a specific call count, so common.mustCall cannot be
34-
// used in the port1.on('message' callback directly.
35-
process.once(
36-
'beforeExit',
37-
common.mustCall(() => {
38-
assert(count > 0, 'count should be greater than 0');
39-
})
40-
);

0 commit comments

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