Skip to content

Conversation

jschwe
Copy link
Member

@jschwe jschwe commented Aug 29, 2025

This change ports all EmbedderMsg reply channels that don't use the ROUTER to GenericChannel.
The remaining reply channels that use the router are blocked until #38973 is merged.
This is a breaking change in the API between libservo and embedders.

Future work: A lot of the reply channels in this PR look like they conceptually should be oneshot ipc channels. It might make sense to provide a OneshotGenericChannel abstraction that encodes this.

Testing: No functional changes - covered by existing tests. None of the channels changed here uses the Router
Part of #38912

@jschwe jschwe added this pull request to the merge queue Aug 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 29, 2025
jschwe added 3 commits August 29, 2025 14:08
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
We omit channels that use the router.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@jschwe jschwe force-pushed the generic_channel/migrate8_webview_responder branch from ed6a09b to 2912322 Compare August 29, 2025 12:09
@jschwe jschwe enabled auto-merge August 29, 2025 12:16
@jschwe jschwe added this pull request to the merge queue Aug 29, 2025
Merged via the queue into servo:main with commit 66d9f95 Aug 29, 2025
22 checks passed
@jschwe jschwe deleted the generic_channel/migrate8_webview_responder branch August 29, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants