diff --git a/lib/renderer/security-warnings.ts b/lib/renderer/security-warnings.ts index 7c2d265145d5..23f538fb1d36 100644 --- a/lib/renderer/security-warnings.ts +++ b/lib/renderer/security-warnings.ts @@ -225,7 +225,7 @@ const warnAboutExperimentalFeatures = function (webPreferences?: Electron.WebPre const warnAboutEnableBlinkFeatures = function (webPreferences?: Electron.WebPreferences) { if (!webPreferences || !Object.prototype.hasOwnProperty.call(webPreferences, 'enableBlinkFeatures') || - (webPreferences.enableBlinkFeatures && webPreferences.enableBlinkFeatures.length === 0)) { + (webPreferences.enableBlinkFeatures != null && webPreferences.enableBlinkFeatures.length === 0)) { return; }