-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Replace MessagePort/BroadcastChannel registries with MessagePortPipe primitive #29937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
12d269f
Replace MessagePort/BroadcastChannel registries with MessagePortPipe
robobun 31ee5ec
test: gate concurrent MessageChannel race test behind isDebug/isASAN
robobun 97d5fba
Restore Apple BSD-2 headers on WebKit-derived files; drop explicit te…
robobun 560c5c0
Address review: one-message-per-drain-task, listener cleanup on disen…
robobun cc29d59
MessagePort: hold m_pipe as const Ref<> for the port's lifetime
robobun 12fe7e5
TransferredMessagePort: close orphaned pipe side on drop
robobun f0379f2
Keep superseded MessagePortChannel/Registry files as empty stubs; gat…
robobun b5ded0f
Remove dead MessagePort forward declaration from ScriptExecutionConte…
robobun 0b6988d
Guard MessagePortPipe.cpp body behind a marker in the pipe-backed Mes…
robobun a554a26
Worker.cpp: propagate disentanglePorts exception, not serialized's
robobun 64b361d
tests: add objectTypeCounts GC check + adversarial transfer/close cov…
robobun 3c8bd9d
MessagePortPipe: batch-loop drain like Node instead of one task per m…
robobun b3aff0a
MessagePortPipe: guard stale drain tasks against cross-context re-attach
robobun ec50453
MessagePortPipe: also break drain loop on same-context re-attach
robobun 2110d58
BroadcastChannel: shave send-side fan-out allocations
robobun e4b77d7
Worker: coalesce postMessage into batch-drained inboxes
robobun 778c684
[autofix.ci] apply automated fixes
autofix-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.