diff --git a/lib/common/parse-features-string.ts b/lib/common/parse-features-string.ts index 32e847a6d641..cfc817351274 100644 --- a/lib/common/parse-features-string.ts +++ b/lib/common/parse-features-string.ts @@ -75,7 +75,7 @@ export function parseWebViewWebPreferences (preferences: string) { return parseCommaSeparatedKeyValue(preferences, false).parsed; } -const allowedWebPreferences = ['zoomFactor', 'nodeIntegration', 'enableRemoteModule', 'preload', 'javascript', 'contextIsolation', 'webviewTag'] as const; +const allowedWebPreferences = ['zoomFactor', 'nodeIntegration', 'enableRemoteModule', 'javascript', 'contextIsolation', 'webviewTag'] as const; type AllowedWebPreference = (typeof allowedWebPreferences)[number]; /**