Skip to content

Fix | host to page, web messages fail on linux - #409

Merged
AnnaSasDev merged 5 commits into
corefrom
407-bug-host-page-web-messages-fail-on-linux-after-upgrading-to-060-2
Aug 26, 2026
Merged

Fix | host to page, web messages fail on linux#409
AnnaSasDev merged 5 commits into
corefrom
407-bug-host-page-web-messages-fail-on-linux-after-upgrading-to-060-2

Conversation

@AnnaSasDev

Copy link
Copy Markdown
Member

Closes #407

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.
@AnnaSasDev AnnaSasDev linked an issue Aug 26, 2026 that may be closed by this pull request
3 tasks
AnnaSasDev and others added 2 commits August 26, 2026 12:04
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>
@AnnaSasDev
AnnaSasDev merged commit 077e564 into core Aug 26, 2026
61 of 62 checks passed
@AnnaSasDev
AnnaSasDev deleted the 407-bug-host-page-web-messages-fail-on-linux-after-upgrading-to-060-2 branch August 26, 2026 12:05
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.

Bug | Host->page web messages fail on Linux after upgrading to 0.60.

1 participant