diff --git a/.yarnrc b/.yarnrc index 44ce4c7d9a22c..3d7d6765547c6 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1,4 +1,4 @@ disturl "https://electronjs.org/headers" -target "17.1.2" +target "18.0.0-beta.4" runtime "electron" build_from_source "true" diff --git a/build/builtin/main.js b/build/builtin/main.js index b1842e9a59501..f4dbc6e83257d 100644 --- a/build/builtin/main.js +++ b/build/builtin/main.js @@ -30,8 +30,7 @@ app.once('ready', () => { webPreferences: { nodeIntegration: true, contextIsolation: false, - enableWebSQL: false, - nativeWindowOpen: true + enableWebSQL: false } }); window.setMenuBarVisibility(false); diff --git a/cgmanifest.json b/cgmanifest.json index 5304bf711b14b..3cca530fade1b 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -6,7 +6,7 @@ "git": { "name": "chromium", "repositoryUrl": "https://chromium.googlesource.com/chromium/src", - "commitHash": "cbadbe267bec5c3c673d5a2f2fdef15541f5bfc1" + "commitHash": "20d57147be17d551f68ae56b649d7f529cd104bd" } }, "licenseDetail": [ @@ -40,7 +40,7 @@ "SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." ], "isOnlyProductionDependency": true, - "version": "98.0.4758.109" + "version": "100.0.4894.0" }, { "component": { @@ -48,11 +48,11 @@ "git": { "name": "nodejs", "repositoryUrl": "https://github.com/nodejs/node", - "commitHash": "40ecd5601193c316e62e9216e8a4259130686208" + "commitHash": "acb71eab779fb56bf70e8a9e0cb2e82a089a87de" } }, "isOnlyProductionDependency": true, - "version": "16.13.0" + "version": "16.13.2" }, { "component": { @@ -60,12 +60,12 @@ "git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", - "commitHash": "fdaee16db7c6c30afedfcedf8e60334d1fa80868" + "commitHash": "fc3172dd2a6a0f0e8289a5e72483c66d559b65a2" } }, "isOnlyProductionDependency": true, "license": "MIT", - "version": "17.1.2" + "version": "18.0.0-beta.4" }, { "component": { diff --git a/package.json b/package.json index bd963c502c27d..bf0688774a9d7 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "cssnano": "^4.1.11", "debounce": "^1.0.0", "deemon": "^1.4.0", - "electron": "17.1.2", + "electron": "18.0.0-beta.4", "eslint": "8.7.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-jsdoc": "^19.1.0", diff --git a/remote/.yarnrc b/remote/.yarnrc index 1df1b5f2441ff..290849a6e6339 100644 --- a/remote/.yarnrc +++ b/remote/.yarnrc @@ -1,4 +1,4 @@ disturl "http://nodejs.org/dist" -target "16.13.0" +target "16.13.2" runtime "node" build_from_source "true" diff --git a/src/vs/platform/issue/electron-main/issueMainService.ts b/src/vs/platform/issue/electron-main/issueMainService.ts index 828e7ae65b3f0..a204cbc9d582d 100644 --- a/src/vs/platform/issue/electron-main/issueMainService.ts +++ b/src/vs/platform/issue/electron-main/issueMainService.ts @@ -334,7 +334,6 @@ export class IssueMainService implements ICommonIssueService { v8CacheOptions: this.environmentMainService.useCodeCache ? 'bypassHeatCheck' : 'none', enableWebSQL: false, spellcheck: false, - nativeWindowOpen: true, zoomFactor: zoomLevelToZoomFactor(options.zoomLevel), sandbox: true, contextIsolation: true diff --git a/src/vs/platform/sharedProcess/electron-main/sharedProcess.ts b/src/vs/platform/sharedProcess/electron-main/sharedProcess.ts index 3d2122e121dc2..17c733ea22396 100644 --- a/src/vs/platform/sharedProcess/electron-main/sharedProcess.ts +++ b/src/vs/platform/sharedProcess/electron-main/sharedProcess.ts @@ -225,7 +225,6 @@ export class SharedProcess extends Disposable implements ISharedProcess { contextIsolation: false, enableWebSQL: false, spellcheck: false, - nativeWindowOpen: true, images: false, webgl: false } diff --git a/src/vs/platform/windows/electron-main/window.ts b/src/vs/platform/windows/electron-main/window.ts index b6fe6d5f906d5..7972f99a75945 100644 --- a/src/vs/platform/windows/electron-main/window.ts +++ b/src/vs/platform/windows/electron-main/window.ts @@ -191,7 +191,6 @@ export class CodeWindow extends Disposable implements ICodeWindow { v8CacheOptions: this.environmentMainService.useCodeCache ? 'bypassHeatCheck' : 'none', enableWebSQL: false, spellcheck: false, - nativeWindowOpen: true, zoomFactor: zoomLevelToZoomFactor(windowSettings?.zoomLevel), // Enable experimental css highlight api https://chromestatus.com/feature/5436441440026624 // Refs https://github.com/microsoft/vscode/issues/140098 diff --git a/test/unit/electron/index.js b/test/unit/electron/index.js index 2c3ad1ab9fc91..e9f75612c7df5 100644 --- a/test/unit/electron/index.js +++ b/test/unit/electron/index.js @@ -187,8 +187,7 @@ app.on('ready', () => { nodeIntegration: true, contextIsolation: false, enableWebSQL: false, - spellcheck: false, - nativeWindowOpen: true + spellcheck: false } }); diff --git a/yarn.lock b/yarn.lock index e98b58a0bde30..392005a6aa455 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4297,10 +4297,10 @@ electron-to-chromium@^1.4.17: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.45.tgz#cf1144091d6683cbd45a231954a745f02fb24598" integrity sha512-czF9eYVuOmlY/vxyMQz2rGlNSjZpxNQYBe1gmQv7al171qOIhgyO9k7D5AKlgeTCSPKk+LHhj5ZyIdmEub9oNg== -electron@17.1.2: - version "17.1.2" - resolved "https://registry.yarnpkg.com/electron/-/electron-17.1.2.tgz#b4e4a0df883d9a9854cf865efa2bb00b12d55b1d" - integrity sha512-hqKQaUIRWX5Y2eAD8FZINWD/e5TKdpkbBYbkcZmJS4Bd1PKQsaDVc9h5xoA8zZQkPymE9rss+swjRpAFurOPGQ== +electron@18.0.0-beta.4: + version "18.0.0-beta.4" + resolved "https://registry.yarnpkg.com/electron/-/electron-18.0.0-beta.4.tgz#68f33aa577cb47a841bd090f0200558ea3c0db73" + integrity sha512-0dlt8srsvuaheRYiKJ5FXdr+7HCysCrCXVrO/b/E0nfythK05ec/DjOL8dWBfdVe2wMMiTST6fMREdHtis8vQg== dependencies: "@electron/get" "^1.13.0" "@types/node" "^14.6.2"