chore: make raw requires type-safe (#29006)
* chore: make raw requires type-safe * refactor: no need for separate webViewImplModule * refactor: no need for separate guestViewInternalModule
This commit is contained in:
parent
8d0e7aed9f
commit
2c65060ec8
13 changed files with 68 additions and 58 deletions
|
@ -286,7 +286,7 @@ const getWebPreferences = async function () {
|
|||
}
|
||||
};
|
||||
|
||||
export function securityWarnings (nodeIntegration: boolean) {
|
||||
export function securityWarnings (nodeIntegration = false) {
|
||||
const loadHandler = async function () {
|
||||
if (shouldLogSecurityWarnings()) {
|
||||
const webPreferences = await getWebPreferences();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue