remove safariTab prop before dispatching message

This commit is contained in:
Kyle Spearrin 2018-01-13 00:01:18 -05:00
parent 66842b4b72
commit 175169cb7c
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ class BrowserApi {
t = win.tabs[tab.index]; t = win.tabs[tab.index];
} }
if (obj.tab && obj.tab.safariTab) {
delete obj.tab.safariTab;
}
if (t.page) { if (t.page) {
t.page.dispatchMessage('bitwarden', obj); t.page.dispatchMessage('bitwarden', obj);
} }