#Renderer fails to load, if context isolation is disabled

15 messages · Page 1 of 1 (latest)

craggy meteor
#

Hi, I have a old electron app which I am trying to upgrade from version 21 to latest version.

but the loads fails to load, if context isolation is disabled,
I created a Github issue for it https://github.com/electron/electron/issues/40838
but was asked to ask the question in community.

Is there some issue, with this setup. Any help is appreciated.

Thanks in advance

GitHub

Preflight Checklist I have read the Contributing Guidelines for this project. I agree to follow the Code of Conduct that this project adheres to. I have searched the issue tracker for a bug report ...

outer hazel
#

Please give details about your config and the error you get

#

"the loads fails to load" is not really helpful

craggy meteor
#

Sorry, I should have mentioned, all the relevant info is mentioned in the github issue.

outer hazel
#

not enough

craggy meteor
#

I have a reproducible sample in the issue too

outer hazel
#

what error do you get please...

#

I not on a computer with dev tools

craggy meteor
#

I don't get any error

outer hazel
#

okay

#

well your preload looks wrong

#

have your read the docs about IPC?

#

Read this and you should be able to fix your code