From a3f7d34f55670274eebe0c5de23852f45ab87e57 Mon Sep 17 00:00:00 2001 From: Miles Blackwood Date: Mon, 25 Aug 2025 16:40:44 -0400 Subject: [PATCH] Removes logs in utils. --- apps/browser/src/autofill/utils/index.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/apps/browser/src/autofill/utils/index.ts b/apps/browser/src/autofill/utils/index.ts index 4b970dba2c6..614a5b014f2 100644 --- a/apps/browser/src/autofill/utils/index.ts +++ b/apps/browser/src/autofill/utils/index.ts @@ -501,25 +501,6 @@ export function isInvalidResponseStatusCode(statusCode: number) { * Determines if the current context is within a sandboxed iframe. */ export function currentlyInSandboxedIframe(): boolean { - // console.log( - // 'String(self.origin).toLowerCase() === "null"', - // String(self.origin).toLowerCase() === "null", - // self, - // ); - // console.log( - // 'globalThis.frameElement?.hasAttribute("sandbox")', - // globalThis.frameElement?.hasAttribute("sandbox"), - // globalThis.frameElement, - // ); - // console.log( - // 'globalThis.location.hostname === ""', - // globalThis.location.hostname === "", - // globalThis.location, - // ); - // console.log({ - // globalThis, - // }); - return ( String(self.origin).toLowerCase() === "null" || globalThis.frameElement?.hasAttribute("sandbox") ||