Anders Kaseorg
Anders Kaseorg
Still an issue in Electron 28.0.0, 29.0.0-alpha.4, and 30.0.0-nightly.20231215.
I don’t think it’s specific to the initial load. If I change the preload to ```js const {contextBridge} = require("electron"); contextBridge.exposeInMainWorld("foo", { foo() { const webview = document.querySelector("webview"); console.log("webview =",...
In my `foo.foo()` example, the error occurs well after any setup would be finished. (Unless there’s some kind of lazy setup that happens at the time of accessing `.getWebContentsId`? But...
@xmedeko That gives you the `webContentsId` for the current `WebContents`, not for a `` element.
Although this is labeled 11-x-y, it still reproduces in all supported versions. Can someone label this 12-x-y, 13-x-y, and 14-x-y so this doesn’t get auto-closed by the triage bot?
Still a bug in 21.0.1, 22.0.0-alpha.1, and 23.0.0-nightly.20221004.
Still an issue in 22.0.3, 23.0.0-beta.4, and 24.0.0-nightly.20230120.
Stilll an issue in 25.3.2, 26.0.0-beta.7, and 27.0.0-nightly.20230726.
@codebytere It doesn’t work for me *in the preload script*. See the Fiddle from my original report.