Security of Electron web app wrappers versus web apps

In this post @Patrick confirmed that a web app would break E2E encryption. Would an Electron wrap break E2E encryption too?