git: d5947fc01e33 - 2025Q1 - devel/electron31: update to 31.7.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 05:47:37 UTC
The branch 2025Q1 has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5947fc01e337e7ec64e0585e45485654010f048 commit d5947fc01e337e7ec64e0585e45485654010f048 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2025-01-22 05:43:43 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2025-01-22 05:47:26 +0000 devel/electron31: update to 31.7.7 Changelog: https://github.com/electron/electron/releases/tag/v31.7.7 Reported by: GitHub (watch releases) MFH: 2025Q1 Security: 3161429b-3897-4593-84a0-b41ffbbfa36b (cherry picked from commit 7142dbdd9fb06826002180e482d12d8212245369) --- devel/electron31/Makefile.version | 2 +- devel/electron31/distinfo | 10 +++--- .../files/patch-electron_script_spec-runner.js | 4 +-- .../patch-electron_spec_api-browser-window-spec.ts | 38 +++++++++++----------- .../files/patch-electron_spec_api-shell-spec.ts | 6 ++-- .../files/patch-electron_spec_chromium-spec.ts | 6 ++-- 6 files changed, 33 insertions(+), 33 deletions(-) diff --git a/devel/electron31/Makefile.version b/devel/electron31/Makefile.version index a4f8da8d262d..37d802fe7b9d 100644 --- a/devel/electron31/Makefile.version +++ b/devel/electron31/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 31.7.6 +ELECTRON_VER= 31.7.7 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron31/distinfo b/devel/electron31/distinfo index 755742009eb2..6dbcf99dbac1 100644 --- a/devel/electron31/distinfo +++ b/devel/electron31/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1733550600 +TIMESTAMP = 1737363700 SHA256 (electron/chromium-126.0.6478.234.tar.xz.0) = 5940007a2cc926c0eac498ab5121727f903a60b87c7b5a5216921c4ee1028d07 SIZE (electron/chromium-126.0.6478.234.tar.xz.0) = 2000000000 SHA256 (electron/chromium-126.0.6478.234.tar.xz.1) = 977c9af967876a9a362038dea652c4be55a71a9758cb1c538bfc8a5a0ee27962 @@ -7,10 +7,10 @@ SHA256 (electron/97a0b3c4c39cf05de1eafb6ffdec0fddd643f0a2) = dcfaea4d353d1df3d4a SIZE (electron/97a0b3c4c39cf05de1eafb6ffdec0fddd643f0a2) = 9761601 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (electron/electron-yarn-cache-31.7.6.tar.xz) = b4003597bbedb49bb424f20f28e0a0ada9790ab5599621fed32768057b603ff2 -SIZE (electron/electron-yarn-cache-31.7.6.tar.xz) = 30445784 -SHA256 (electron/electron-electron-v31.7.6_GH0.tar.gz) = 091fa82f037b060ebbd4548530416993279ada9635ac4c0f3539013f1a0ff023 -SIZE (electron/electron-electron-v31.7.6_GH0.tar.gz) = 13907397 +SHA256 (electron/electron-yarn-cache-31.7.7.tar.xz) = b4003597bbedb49bb424f20f28e0a0ada9790ab5599621fed32768057b603ff2 +SIZE (electron/electron-yarn-cache-31.7.7.tar.xz) = 30445784 +SHA256 (electron/electron-electron-v31.7.7_GH0.tar.gz) = 16e19a9cdd323d6446f2387144a6b6925a74c9e4427ce89cb49b5c90e839bb62 +SIZE (electron/electron-electron-v31.7.7_GH0.tar.gz) = 13932620 SHA256 (electron/nodejs-node-v20.18.0_GH0.tar.gz) = 651bb82f6af18084070893559643759165ce050b5839f830d4cc098130d3ad89 SIZE (electron/nodejs-node-v20.18.0_GH0.tar.gz) = 115526827 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb diff --git a/devel/electron31/files/patch-electron_script_spec-runner.js b/devel/electron31/files/patch-electron_script_spec-runner.js index 846892d23059..f004e94909c5 100644 --- a/devel/electron31/files/patch-electron_script_spec-runner.js +++ b/devel/electron31/files/patch-electron_script_spec-runner.js @@ -1,6 +1,6 @@ ---- electron/script/spec-runner.js.orig 2024-10-09 13:53:12 UTC +--- electron/script/spec-runner.js.orig 2025-01-10 17:59:16 UTC +++ electron/script/spec-runner.js -@@ -165,7 +165,7 @@ async function runTestUsingElectron (specDir, testName +@@ -197,7 +197,7 @@ async function runTestUsingElectron (specDir, testName exe = path.resolve(BASE, utils.getElectronExec()); } const runnerArgs = [`electron/${specDir}`, ...unknownArgs.slice(2)]; diff --git a/devel/electron31/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron31/files/patch-electron_spec_api-browser-window-spec.ts index ffec5b596f94..b7471f25e1ce 100644 --- a/devel/electron31/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron31/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2024-10-28 13:37:47 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2025-01-10 17:59:16 UTC +++ electron/spec/api-browser-window-spec.ts @@ -67,7 +67,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -9,7 +9,7 @@ const appPath = path.join(fixtures, 'apps', 'xwindow-icon'); const appProcess = childProcess.spawn(process.execPath, [appPath]); await once(appProcess, 'exit'); -@@ -1123,7 +1123,7 @@ describe('BrowserWindow module', () => { +@@ -1126,7 +1126,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.minimize()', () => { // TODO(codebytere): Enable for Linux once maximize/minimize events work in CI. @@ -18,7 +18,7 @@ const minimize = once(w, 'minimize'); w.minimize(); await minimize; -@@ -1140,7 +1140,7 @@ describe('BrowserWindow module', () => { +@@ -1143,7 +1143,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable for Linux once CI plays nice with these kinds of tests @@ -27,7 +27,7 @@ const maximize = once(w, 'maximize'); const shown = once(w, 'show'); w.maximize(); -@@ -1205,7 +1205,7 @@ describe('BrowserWindow module', () => { +@@ -1208,7 +1208,7 @@ describe('BrowserWindow module', () => { expect(w.isFocused()).to.equal(true); }); @@ -36,7 +36,7 @@ const w1 = new BrowserWindow({ show: false }); const w2 = new BrowserWindow({ show: false }); const w3 = new BrowserWindow({ show: false }); -@@ -1306,7 +1306,7 @@ describe('BrowserWindow module', () => { +@@ -1309,7 +1309,7 @@ describe('BrowserWindow module', () => { expect(w.isFocused()).to.equal(false); }); @@ -45,7 +45,7 @@ const w1 = new BrowserWindow({ show: false }); const w2 = new BrowserWindow({ show: false }); const w3 = new BrowserWindow({ show: false }); -@@ -1744,7 +1744,7 @@ describe('BrowserWindow module', () => { +@@ -1747,7 +1747,7 @@ describe('BrowserWindow module', () => { }); }); @@ -54,7 +54,7 @@ it('checks normal bounds when maximized', async () => { const bounds = w.getBounds(); const maximize = once(w, 'maximize'); -@@ -1954,7 +1954,7 @@ describe('BrowserWindow module', () => { +@@ -1957,7 +1957,7 @@ describe('BrowserWindow module', () => { }); }); @@ -63,7 +63,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = once(w, 'minimize'); -@@ -2917,7 +2917,7 @@ describe('BrowserWindow module', () => { +@@ -2920,7 +2920,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); @@ -72,7 +72,7 @@ it('make window with initial opacity', () => { const w = new BrowserWindow({ show: false, opacity: 0.5 }); expect(w.getOpacity()).to.equal(0.5); -@@ -2943,7 +2943,7 @@ describe('BrowserWindow module', () => { +@@ -2946,7 +2946,7 @@ describe('BrowserWindow module', () => { }); }); @@ -81,7 +81,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3154,7 +3154,7 @@ describe('BrowserWindow module', () => { +@@ -3157,7 +3157,7 @@ describe('BrowserWindow module', () => { expect(overlayRectPreMax.height).to.equal(size); // 'maximize' event is not emitted on Linux in CI. @@ -90,7 +90,7 @@ const maximize = once(w, 'maximize'); w.show(); w.maximize(); -@@ -3220,7 +3220,7 @@ describe('BrowserWindow module', () => { +@@ -3223,7 +3223,7 @@ describe('BrowserWindow module', () => { expect(preMaxHeight).to.equal(size); // 'maximize' event is not emitted on Linux in CI. @@ -99,7 +99,7 @@ const maximize = once(w, 'maximize'); w.show(); w.maximize(); -@@ -3885,7 +3885,7 @@ describe('BrowserWindow module', () => { +@@ -3888,7 +3888,7 @@ describe('BrowserWindow module', () => { expect(test.nodeTimers).to.equal(true); expect(test.nodeUrl).to.equal(true); @@ -108,7 +108,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -4390,7 +4390,7 @@ describe('BrowserWindow module', () => { +@@ -4393,7 +4393,7 @@ describe('BrowserWindow module', () => { }); }); @@ -117,7 +117,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -4661,7 +4661,7 @@ describe('BrowserWindow module', () => { +@@ -4664,7 +4664,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 @@ -126,7 +126,7 @@ const w = new BrowserWindow({}); const maximize = once(w, 'maximize'); w.maximize(); -@@ -4678,7 +4678,7 @@ describe('BrowserWindow module', () => { +@@ -4681,7 +4681,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -135,7 +135,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4715,7 +4715,7 @@ describe('BrowserWindow module', () => { +@@ -4718,7 +4718,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -144,7 +144,7 @@ const w = new BrowserWindow(); const minimize = once(w, 'minimize'); w.minimize(); -@@ -5189,7 +5189,7 @@ describe('BrowserWindow module', () => { +@@ -5192,7 +5192,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -153,7 +153,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -5328,7 +5328,7 @@ describe('BrowserWindow module', () => { +@@ -5331,7 +5331,7 @@ describe('BrowserWindow module', () => { }); }); @@ -162,7 +162,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -6493,7 +6493,7 @@ describe('BrowserWindow module', () => { +@@ -6496,7 +6496,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows); diff --git a/devel/electron31/files/patch-electron_spec_api-shell-spec.ts b/devel/electron31/files/patch-electron_spec_api-shell-spec.ts index 52b81e6bb1b4..7a72b759a36f 100644 --- a/devel/electron31/files/patch-electron_spec_api-shell-spec.ts +++ b/devel/electron31/files/patch-electron_spec_api-shell-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec/api-shell-spec.ts.orig 2024-10-09 13:53:12 UTC +--- electron/spec/api-shell-spec.ts.orig 2025-01-10 17:59:16 UTC +++ electron/spec/api-shell-spec.ts -@@ -26,7 +26,7 @@ describe('shell module', () => { +@@ -27,7 +27,7 @@ describe('shell module', () => { afterEach(async () => { // reset env vars to prevent side effects @@ -9,7 +9,7 @@ process.env.DE = envVars.de; process.env.BROWSER = envVars.browser; process.env.DISPLAY = envVars.display; -@@ -39,6 +39,11 @@ describe('shell module', () => { +@@ -44,6 +44,11 @@ describe('shell module', () => { let requestReceived: Promise<any>; if (process.platform === 'linux') { process.env.BROWSER = '/bin/true'; diff --git a/devel/electron31/files/patch-electron_spec_chromium-spec.ts b/devel/electron31/files/patch-electron_spec_chromium-spec.ts index 05dc5918db1a..519f2335fb70 100644 --- a/devel/electron31/files/patch-electron_spec_chromium-spec.ts +++ b/devel/electron31/files/patch-electron_spec_chromium-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/chromium-spec.ts.orig 2024-10-09 13:53:12 UTC +--- electron/spec/chromium-spec.ts.orig 2025-01-10 17:59:16 UTC +++ electron/spec/chromium-spec.ts @@ -474,13 +474,13 @@ describe('command line switches', () => { it('should not set an invalid locale', async () => testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`)); @@ -18,7 +18,7 @@ }); describe('--remote-debugging-pipe switch', () => { -@@ -2811,12 +2811,12 @@ describe('font fallback', () => { +@@ -2813,12 +2813,12 @@ describe('font fallback', () => { expect(fonts[0].familyName).to.equal('Arial'); } else if (process.platform === 'darwin') { expect(fonts[0].familyName).to.equal('Helvetica'); @@ -33,7 +33,7 @@ const html = ` <html lang="ja-JP"> <head> -@@ -3210,7 +3210,7 @@ describe('navigator.clipboard.write', () => { +@@ -3215,7 +3215,7 @@ describe('navigator.clipboard.write', () => { }); });