Skip to content

Missing message id check in defineCustomEventMessaging #93

@stotiks

Description

@stotiks

Currently, there's no message id verification (detail.message.id === requestEvent.detail.message.id) in the responseListener. This omission can lead to mismatched responses when multiple messages are in flight simultaneously, as responses might be incorrectly paired with unrelated requests.

detail.message.type === requestEvent.detail.message.type

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions