Shelley Vohr

Results 509 comments of Shelley Vohr

@ForJason can you confirm the last working version of this? Did it work in v7? v6, or v5?

I should have an update on this within a week.

Thanks for reporting this and helping to make Electron better! Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's. Would...

Repro gist: https://gist.github.com/codebytere/37c931932e79a5247d3f35d07f2635ba

@isailaandrei i'm not sure what you mean by that given it's a documentation issue as noted above - is there something else happening?

It looks like this is specific to initial load. For example, in your fiddle, if you go to devtools console and try: ``` const webview = document.querySelector("webview"); webview..getWebContentsId() ``` it...

@andersk yeah - it's this: > This is happening because when contextIsolation is enabled, the webview tag isn't set up until after the preload scripts run, so the functions don't...

@andersk does this not work for you? ```js // renderer process const wv = document.querySelector('webview') wv.addEventListener('dom-ready', () => { console.log(wv.getWebContentsId()) // prints a number }) ``` this works fine for...

Yes - i understand that. I'm asking if this workaround satisfies your needs.

@annie-elequin could you confirm if this happens in 1.5.0 as well?