diff --git a/apps/browser/src/autofill/overlay/inline-menu/pages/menu-container/autofill-inline-menu-container.ts b/apps/browser/src/autofill/overlay/inline-menu/pages/menu-container/autofill-inline-menu-container.ts index 54d1472a47..fafc23f925 100644 --- a/apps/browser/src/autofill/overlay/inline-menu/pages/menu-container/autofill-inline-menu-container.ts +++ b/apps/browser/src/autofill/overlay/inline-menu/pages/menu-container/autofill-inline-menu-container.ts @@ -9,12 +9,12 @@ import { } from "../../abstractions/autofill-inline-menu-container"; export class AutofillInlineMenuContainer { - private setElementStyles = setElementStyles; - private extensionOriginsSet: Set; + private readonly setElementStyles = setElementStyles; + private readonly extensionOriginsSet: Set; private port: chrome.runtime.Port | null = null; private portName: string; private inlineMenuPageIframe: HTMLIFrameElement; - private iframeStyles: Partial = { + private readonly iframeStyles: Partial = { all: "initial", position: "fixed", top: "0", @@ -32,14 +32,14 @@ export class AutofillInlineMenuContainer { padding: "0", colorScheme: "normal", }; - private defaultIframeAttributes: Record = { + private readonly defaultIframeAttributes: Record = { src: "", title: "", sandbox: "allow-scripts", allowtransparency: "true", tabIndex: "-1", }; - private windowMessageHandlers: AutofillInlineMenuContainerWindowMessageHandlers = { + private readonly windowMessageHandlers: AutofillInlineMenuContainerWindowMessageHandlers = { initAutofillInlineMenuButton: (message) => this.handleInitInlineMenuIframe(message), initAutofillInlineMenuList: (message) => this.handleInitInlineMenuIframe(message), };