Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

The WebPreferences parameter is invalid #21

Open
mzky opened this issue Jan 26, 2022 · 1 comment
Open

The WebPreferences parameter is invalid #21

mzky opened this issue Jan 26, 2022 · 1 comment

Comments

@mzky
Copy link

mzky commented Jan 26, 2022

Use the demo.

WebPreferences

  1. Configuration not using 'sandbox' does not take effect.
  2. The 'DevTools' configuration also does not take effect.
  3. Other configurations are normal, such as script execution.

image

image

process

Also, when you close the window with 'x' or 'Ctrl+W', the process still exists.
This problem seems to be unique to Windows.
image

@asticode
Copy link
Owner

I think the WebPreferences are kind of buggy indeed:

  • to disable sandbox mode, checkout this issue
  • to play with dev tools, you need to manually open/close them

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants