1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-16 02:27:00 +02:00

support for bitwardenFrameId in messages

This commit is contained in:
Kyle Spearrin 2019-08-16 14:34:59 -04:00
parent 838667c381
commit 7a977ebc1e

View File

@ -107,6 +107,9 @@ export class BrowserApi {
});
});
} else if (BrowserApi.isSafariApi) {
if (options != null && options.frameId != null && obj.bitwardenFrameId == null) {
obj.bitwardenFrameId = options.frameId;
}
await SafariApp.sendMessageToApp('tabs_message', JSON.stringify({
tab: tab,
obj: JSON.stringify(obj),