mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-25 21:51:30 +01:00
[PM-5189] Fixing issues found within code review behind how we position elements
This commit is contained in:
parent
ee5c6f07c5
commit
2963fc9b7d
@ -873,6 +873,11 @@ export class AutofillOverlayContentService implements AutofillOverlayContentServ
|
|||||||
return this.calculateSubFrameOffsets(iframeElement, subFrameUrl);
|
return this.calculateSubFrameOffsets(iframeElement, subFrameUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a set of all possible URL variations for the sub frame URL.
|
||||||
|
*
|
||||||
|
* @param subFrameUrl - The URL of the sub frame.
|
||||||
|
*/
|
||||||
private getSubFrameUrlVariations(subFrameUrl: string) {
|
private getSubFrameUrlVariations(subFrameUrl: string) {
|
||||||
try {
|
try {
|
||||||
const url = new URL(subFrameUrl, globalThis.location.href);
|
const url = new URL(subFrameUrl, globalThis.location.href);
|
||||||
|
Loading…
Reference in New Issue
Block a user