1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

use BrowserApi.getTab in place of chrome.tabs.get (#16370)

This commit is contained in:
Jonathan Prusik
2025-09-10 16:59:15 -04:00
committed by GitHub
parent 4ef9ab2c9a
commit c160b421fc

View File

@@ -329,8 +329,9 @@ export class ViewV2Component {
case UPDATE_PASSWORD: {
const repromptSuccess = await this.passwordRepromptService.showPasswordPrompt();
const tab = await BrowserApi.getTab(senderTabId);
await sendExtensionMessage("bgHandleReprompt", {
tab: await chrome.tabs.get(senderTabId),
tab,
success: repromptSuccess,
});