Skip to content

Commit

Permalink
devel/electron28: update to 28.3.0
Browse files Browse the repository at this point in the history
Changelog: https://github.com/electron/electron/releases/tag/v28.3.0

Reported by:	GitHub (watch releases)
MFH:		2024Q2
Security:	31617e47-7eec-4c60-9fdf-8aee61622bab
  • Loading branch information
tagattie committed Apr 12, 2024
1 parent 80e73db commit 0731023
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion devel/electron28/Makefile.version
@@ -1,2 +1,2 @@
ELECTRON_VER= 28.2.10
ELECTRON_VER= 28.3.0
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
10 changes: 5 additions & 5 deletions devel/electron28/distinfo
@@ -1,14 +1,14 @@
TIMESTAMP = 1712360808
TIMESTAMP = 1712911782
SHA256 (electron/chromium-120.0.6099.291.tar.xz) = edb20651392a67dbefced6489d2228a2b7d18ec2bbba4e5bbe355b34ba87fe49
SIZE (electron/chromium-120.0.6099.291.tar.xz) = 1578614892
SHA256 (electron/bb991b26ccca36a9b3912b51dec5b70e5dea9aea) = 8ada8e0554ecd02f649047f8f15a438590c67505b9f2e6a58fd973fe02c4ca52
SIZE (electron/bb991b26ccca36a9b3912b51dec5b70e5dea9aea) = 9782997
SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
SHA256 (electron/electron-yarn-cache-28.2.10.tar.xz) = ee4117440555d6be62f706646bb1b3c6737cc5b741b8e72377136c72a3474518
SIZE (electron/electron-yarn-cache-28.2.10.tar.xz) = 29073696
SHA256 (electron/electron-electron-v28.2.10_GH0.tar.gz) = 1ac5bccc590eec1ea3262f6a48e6656c326cfddadc71a41401c7e3fdfbf50d4f
SIZE (electron/electron-electron-v28.2.10_GH0.tar.gz) = 11501177
SHA256 (electron/electron-yarn-cache-28.3.0.tar.xz) = ee4117440555d6be62f706646bb1b3c6737cc5b741b8e72377136c72a3474518
SIZE (electron/electron-yarn-cache-28.3.0.tar.xz) = 29073696
SHA256 (electron/electron-electron-v28.3.0_GH0.tar.gz) = 9ace77482b0f3f5a173cbc363785486eaea3e1b2604b22c1150751ce0addcef3
SIZE (electron/electron-electron-v28.3.0_GH0.tar.gz) = 11504153
SHA256 (electron/nodejs-node-v18.18.2_GH0.tar.gz) = b1c20070ec2cfc930572e8d3c3f1de4be8bc7e2259956031db00709b7775a0da
SIZE (electron/nodejs-node-v18.18.2_GH0.tar.gz) = 112758381
SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
Expand Down
@@ -1,6 +1,6 @@
--- electron/shell/browser/api/electron_api_app.cc.orig 2024-02-21 08:43:43 UTC
--- electron/shell/browser/api/electron_api_app.cc.orig 2024-04-09 23:57:48 UTC
+++ electron/shell/browser/api/electron_api_app.cc
@@ -657,7 +657,7 @@ void App::OnFinishLaunching(base::Value::Dict launch_i
@@ -660,7 +660,7 @@ void App::OnFinishLaunching(base::Value::Dict launch_i
}

void App::OnFinishLaunching(base::Value::Dict launch_info) {
Expand All @@ -9,7 +9,7 @@
// Set the application name for audio streams shown in external
// applications. Only affects pulseaudio currently.
media::AudioManager::SetGlobalAppName(Browser::Get()->GetName());
@@ -992,7 +992,7 @@ void App::SetDesktopName(const std::string& desktop_na
@@ -995,7 +995,7 @@ void App::SetDesktopName(const std::string& desktop_na
}

void App::SetDesktopName(const std::string& desktop_name) {
Expand All @@ -18,7 +18,7 @@
auto env = base::Environment::Create();
env->SetVar("CHROME_DESKTOP", desktop_name);
#endif
@@ -1376,7 +1376,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
@@ -1379,7 +1379,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
pid_dict.Set("name", process_metric.second->name);
}

Expand All @@ -27,7 +27,7 @@
auto memory_info = process_metric.second->GetMemoryInfo();

auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate);
@@ -1667,7 +1667,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
@@ -1762,7 +1762,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod(
"removeAsDefaultProtocolClient",
base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
Expand All @@ -36,7 +36,7 @@
.SetMethod(
"getApplicationInfoForProtocol",
base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
@@ -1725,7 +1725,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
@@ -1820,7 +1820,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod("getJumpListSettings", &App::GetJumpListSettings)
.SetMethod("setJumpList", &App::SetJumpList)
#endif
Expand Down
@@ -1,15 +1,15 @@
--- electron/shell/browser/browser_process_impl.cc.orig 2023-12-04 18:19:02 UTC
--- electron/shell/browser/browser_process_impl.cc.orig 2024-04-09 23:57:48 UTC
+++ electron/shell/browser/browser_process_impl.cc
@@ -316,7 +316,7 @@ const std::string& BrowserProcessImpl::GetSystemLocale
return system_locale_;
@@ -325,7 +325,7 @@ electron::ResolveProxyHelper* BrowserProcessImpl::GetR
return resolve_proxy_helper_.get();
}

-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void BrowserProcessImpl::SetLinuxStorageBackend(
os_crypt::SelectedLinuxBackend selected_backend) {
switch (selected_backend) {
@@ -344,7 +344,7 @@ const std::string& BrowserProcessImpl::GetLinuxStorage
@@ -353,7 +353,7 @@ const std::string& BrowserProcessImpl::GetLinuxStorage
const std::string& BrowserProcessImpl::GetLinuxStorageBackend() const {
return selected_linux_storage_backend_;
}
Expand Down
@@ -1,4 +1,4 @@
--- electron/shell/browser/browser_process_impl.h.orig 2023-12-04 18:19:02 UTC
--- electron/shell/browser/browser_process_impl.h.orig 2024-04-09 23:57:48 UTC
+++ electron/shell/browser/browser_process_impl.h
@@ -23,7 +23,7 @@
#include "services/network/public/cpp/shared_url_loader_factory.h"
Expand All @@ -9,16 +9,16 @@
#include "components/os_crypt/sync/key_storage_util_linux.h"
#endif

@@ -57,7 +57,7 @@ class BrowserProcessImpl : public BrowserProcess {
void SetSystemLocale(const std::string& locale);
@@ -61,7 +61,7 @@ class BrowserProcessImpl : public BrowserProcess {
const std::string& GetSystemLocale() const;
electron::ResolveProxyHelper* GetResolveProxyHelper();

-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void SetLinuxStorageBackend(os_crypt::SelectedLinuxBackend selected_backend);
const std::string& GetLinuxStorageBackend() const;
#endif
@@ -132,7 +132,7 @@ class BrowserProcessImpl : public BrowserProcess {
@@ -140,7 +140,7 @@ class BrowserProcessImpl : public BrowserProcess {
std::unique_ptr<PrefService> local_state_;
std::string locale_;
std::string system_locale_;
Expand Down
30 changes: 15 additions & 15 deletions devel/electron28/files/patch-electron_spec_api-app-spec.ts
@@ -1,6 +1,6 @@
--- electron/spec/api-app-spec.ts.orig 2023-12-04 18:19:02 UTC
--- electron/spec/api-app-spec.ts.orig 2024-04-09 23:57:48 UTC
+++ electron/spec/api-app-spec.ts
@@ -122,11 +122,11 @@ describe('app module', () => {
@@ -123,11 +123,11 @@ describe('app module', () => {
});

describe('app.getPreferredSystemLanguages()', () => {
Expand All @@ -14,7 +14,7 @@
const languages = app.getPreferredSystemLanguages();
if (languages.length) {
expect(languages).to.not.include('C');
@@ -189,7 +189,7 @@ describe('app module', () => {
@@ -190,7 +190,7 @@ describe('app module', () => {
expect(code).to.equal(123, 'exit code should be 123, if you see this please tag @MarshallOfSound');
});

Expand All @@ -23,7 +23,7 @@
const electronPath = process.execPath;
const appPath = path.join(fixturesPath, 'api', 'singleton');
appProcess = cp.spawn(electronPath, [appPath]);
@@ -443,7 +443,7 @@ describe('app module', () => {
@@ -444,7 +444,7 @@ describe('app module', () => {
// let w = null

// before(function () {
Expand All @@ -32,7 +32,7 @@
// this.skip()
// }
// })
@@ -571,7 +571,7 @@ describe('app module', () => {
@@ -572,7 +572,7 @@ describe('app module', () => {
describe('app.badgeCount', () => {
const platformIsNotSupported =
(process.platform === 'win32') ||
Expand All @@ -41,7 +41,7 @@

const expectedBadgeCount = 42;

@@ -615,7 +615,7 @@ describe('app module', () => {
@@ -616,7 +616,7 @@ describe('app module', () => {
});
});

Expand All @@ -50,7 +50,7 @@
const updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe');
const processStartArgs = [
'--processStart', `"${path.basename(process.execPath)}"`,
@@ -930,7 +930,7 @@ describe('app module', () => {
@@ -931,7 +931,7 @@ describe('app module', () => {
});
});

Expand All @@ -59,7 +59,7 @@
it('with properties', () => {
it('can set accessibility support enabled', () => {
expect(app.accessibilitySupportEnabled).to.eql(false);
@@ -1092,7 +1092,7 @@ describe('app module', () => {
@@ -1093,7 +1093,7 @@ describe('app module', () => {
});
});

Expand All @@ -68,7 +68,7 @@
let w: BrowserWindow;

before(function () {
@@ -1227,7 +1227,7 @@ describe('app module', () => {
@@ -1228,7 +1228,7 @@ describe('app module', () => {

describe('getApplicationNameForProtocol()', () => {
// TODO: Linux CI doesn't have registered http & https handlers
Expand All @@ -77,7 +77,7 @@
// We can't expect particular app names here, but these protocols should
// at least have _something_ registered. Except on our Linux CI
// environment apparently.
@@ -1245,7 +1245,7 @@ describe('app module', () => {
@@ -1246,7 +1246,7 @@ describe('app module', () => {
});
});

Expand All @@ -86,7 +86,7 @@
it('returns promise rejection for a bogus protocol', async function () {
await expect(
app.getApplicationInfoForProtocol('bogus-protocol://')
@@ -1295,7 +1295,7 @@ describe('app module', () => {
@@ -1296,7 +1296,7 @@ describe('app module', () => {
});

// FIXME Get these specs running on Linux CI
Expand All @@ -95,7 +95,7 @@
const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico');
const sizes = {
small: 16,
@@ -1376,7 +1376,7 @@ describe('app module', () => {
@@ -1377,7 +1377,7 @@ describe('app module', () => {
expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0);
}

Expand All @@ -104,7 +104,7 @@
expect(entry.sandboxed).to.be.a('boolean');
}

@@ -1402,7 +1402,7 @@ describe('app module', () => {
@@ -1403,7 +1403,7 @@ describe('app module', () => {
});

// FIXME https://github.com/electron/electron/issues/24224
Expand All @@ -113,7 +113,7 @@
const appPath = path.join(fixturesPath, 'api', 'gpu-info.js');

const getGPUInfo = async (type: string) => {
@@ -1451,7 +1451,7 @@ describe('app module', () => {
@@ -1452,7 +1452,7 @@ describe('app module', () => {

it('succeeds with complete GPUInfo', async () => {
const completeInfo = await getGPUInfo('complete');
Expand All @@ -122,7 +122,7 @@
// For linux and macOS complete info is same as basic info
await verifyBasicGPUInfo(completeInfo);
const basicInfo = await getGPUInfo('basic');
@@ -1475,7 +1475,7 @@ describe('app module', () => {
@@ -1476,7 +1476,7 @@ describe('app module', () => {
});
});

Expand Down

0 comments on commit 0731023

Please sign in to comment.