Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated nativeWindowOpen option from webPreferences in chrome-tabs module #155

Closed
manusa opened this issue Oct 10, 2022 · 1 comment · Fixed by #156
Closed
Assignees
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest
Milestone

Comments

@manusa
Copy link
Owner

manusa commented Oct 10, 2022

Description

The help BrowserView Electron webPreferences.nativeWindowOpen option should be removed since it has been deprecated and removed from the API.

The following code:

const webPreferences = {
contextIsolation: false,
nativeWindowOpen: true,
nodeIntegration: false,
sandbox: true,
preload: path.resolve(__dirname, '..', '..', 'bundles', 'chrome-tabs.preload.js'),
partition: 'persist:electronim'
};

Should be replaced by:

const webPreferences = {
  contextIsolation: false,
  nodeIntegration: false,
  sandbox: true,
  preload: path.resolve(__dirname, '..', '..', 'bundles', 'chrome-tabs.preload.js'),
  partition: 'persist:electronim'
};
@manusa manusa added good first issue Good for newcomers hacktoberfest Hacktoberfest labels Oct 10, 2022
@buneeIsSlo
Copy link
Contributor

@manusa Hi, I can work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants