Fix | host to page, web messages fail on linux - #409
Merged
AnnaSasDev merged 5 commits intoAug 26, 2026
Merged
Conversation
Align the native/webview message callback contract across Linux/macOS and the TypeScript bridge to use __infiniframe_dispatch instead of the stale __dispatchMessageCallback. This adds contract tests for the new name and updates the WebKit bridge to register the callback on window while preserving multi-callback dispatch behavior. It also refines lifecycle synchronization by using a NET9-aware lock and awaiting close cleanup through WaitForCloseAsync.
3 tasks
Replace awaiting WaitForCloseAsync(ct) with a synchronous WaitForClose() call in LifecycleInfiniFrameWindowFeature to avoid failures caused by the async overload on the UI/managed thread; added a ReSharper suppression comment explaining the need for synchronous behavior. Also fixed newline at end of MacOsTestingPlatformEntryPoint.cs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…-after-upgrading-to-060-2
AnnaSasDev
deleted the
407-bug-host-page-web-messages-fail-on-linux-after-upgrading-to-060-2
branch
August 26, 2026 12:05
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #407