1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-24 21:41:33 +01:00

[PM-5189] Fixing issues found within code review behind how we position elements

This commit is contained in:
Cesar Gonzalez 2024-06-25 05:17:58 -05:00
parent ee5c6f07c5
commit 2963fc9b7d
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF

View File

@ -873,6 +873,11 @@ export class AutofillOverlayContentService implements AutofillOverlayContentServ
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) {
try {
const url = new URL(subFrameUrl, globalThis.location.href);