diff --git a/src/background/create-open-window.ts b/src/background/create-open-window.ts index c88696bd3..9bc644082 100644 --- a/src/background/create-open-window.ts +++ b/src/background/create-open-window.ts @@ -12,7 +12,7 @@ export enum WindowApp { export type WindowSearchParams = Record; -export function getUrlByWindowApp( +function getUrlByWindowApp( windowApp: WindowApp, searchParams?: WindowSearchParams ) { @@ -104,7 +104,7 @@ export function createOpenWindow({ async function openNewWindow(): Promise { return browser.windows.getCurrent().then(async currentWindow => { - // If this flag is true, we initialize the initial state for the tests + // If this flag is true, we create a new window without any size and positions. const isTestEnv = Boolean(process.env.TEST_ENV); const windowWidth = currentWindow.width ?? 0;