mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
support for bitwardenFrameId in messages
This commit is contained in:
parent
838667c381
commit
7a977ebc1e
@ -107,6 +107,9 @@ export class BrowserApi {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else if (BrowserApi.isSafariApi) {
|
} else if (BrowserApi.isSafariApi) {
|
||||||
|
if (options != null && options.frameId != null && obj.bitwardenFrameId == null) {
|
||||||
|
obj.bitwardenFrameId = options.frameId;
|
||||||
|
}
|
||||||
await SafariApp.sendMessageToApp('tabs_message', JSON.stringify({
|
await SafariApp.sendMessageToApp('tabs_message', JSON.stringify({
|
||||||
tab: tab,
|
tab: tab,
|
||||||
obj: JSON.stringify(obj),
|
obj: JSON.stringify(obj),
|
||||||
|
Loading…
Reference in New Issue
Block a user