Skip to content

Commit 9d8695c

Browse files
Fix build - use webPreferences object according to the electron version
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 9ef8210 commit 9d8695c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • code/src/vs/platform/windows/electron-main

code/src/vs/platform/windows/electron-main/windows.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,7 @@ export function defaultBrowserWindowOptions(accessor: ServicesAccessor, windowSt
151151
// Enable experimental css highlight api https://chromestatus.com/feature/5436441440026624
152152
// Refs https://github.com/microsoft/vscode/issues/140098
153153
enableBlinkFeatures: 'HighlightAPI',
154-
sandbox: true,
155-
// TODO(deepak1556): Should be removed once migration is complete
156-
// https://github.com/microsoft/vscode/issues/239228
157-
enableDeprecatedPaste: true,
154+
sandbox: true
158155
},
159156
experimentalDarkMode: true
160157
};

0 commit comments

Comments
 (0)