revert(electron): revert http protocl in electron (#8655)

fix AF-1583
This commit is contained in:
pengx17
2024-11-01 06:33:27 +00:00
parent 1973cea035
commit c915a3bcb5
6 changed files with 97 additions and 55 deletions

View File

@@ -842,6 +842,10 @@ export class WebContentViewsManager {
};
}
export function getCookies() {
return WebContentViewsManager.instance.cookies;
}
// there is no proper way to listen to webContents resize event
// we will rely on window.resize event in renderer instead
export async function handleWebContentsResize(webContents?: WebContents) {