Browse Source
* upon action outside of the extenstion requiring password reprompt, open new tab with reprompt * allow popup view component to load with default action and send context menu actions on reprompt ciphers to password reprompt * open password reprompt in new window instead of new tab * update test and linting * Apply suggestions from code review Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com> * add support for getTab in Manifest V2 * remove unneeded loadAction check * allow auto-fill button in popout window * add LoadAction type * update code to use new BrowserPopoutWindowService * access queryParams with subscribe * do not dismiss window if no loadAction was specified * rehide autofill option for non-single-action popout windows --------- Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>pull/6044/head
11 changed files with 191 additions and 31 deletions
@ -1,6 +1,15 @@
@@ -1,6 +1,15 @@
|
||||
interface BrowserPopoutWindowService { |
||||
openLoginPrompt(senderWindowId: number): Promise<void>; |
||||
closeLoginPrompt(): Promise<void>; |
||||
openUnlockPrompt(senderWindowId: number): Promise<void>; |
||||
closeUnlockPrompt(): Promise<void>; |
||||
openPasswordRepromptPrompt( |
||||
senderWindowId: number, |
||||
promptData: { |
||||
action: string; |
||||
cipherId: string; |
||||
senderTabId: number; |
||||
} |
||||
): Promise<void>; |
||||
closePasswordRepromptPrompt(): Promise<void>; |
||||
} |
||||
|
||||
export { BrowserPopoutWindowService }; |
||||
|
||||
Loading…
Reference in new issue