1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 12:13:45 +00: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

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);