We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found that when stream uses sendMessage, the destination parameter uses this.streamInfo.endpoint, which is initialized in contrustor https://github.com/zikaari/webext-bridge/blob/320d2501599ed4e261801b0b65823b953633788a/src/internal/stream.ts#L57-L66 Then, after the message is sent, destination.tabId is cleared, causing this.streamInfo.endpoint.tabId to be lost.
stream
sendMessage
destination
this.streamInfo.endpoint
destination.tabId
this.streamInfo.endpoint.tabId
https://github.com/zikaari/webext-bridge/blob/320d2501599ed4e261801b0b65823b953633788a/src/background.ts#L159-L161
The text was updated successfully, but these errors were encountered:
tabId
stream.send
No branches or pull requests
I found that when
stream
usessendMessage
, thedestination
parameter usesthis.streamInfo.endpoint
, which is initialized in contrustorhttps://github.com/zikaari/webext-bridge/blob/320d2501599ed4e261801b0b65823b953633788a/src/internal/stream.ts#L57-L66
Then, after the message is sent,
destination.tabId
is cleared, causingthis.streamInfo.endpoint.tabId
to be lost.https://github.com/zikaari/webext-bridge/blob/320d2501599ed4e261801b0b65823b953633788a/src/background.ts#L159-L161
The text was updated successfully, but these errors were encountered: