aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files')
-rw-r--r--devel/electron38/files/patch-electron_lib_browser_init.ts11
-rw-r--r--devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc8
-rw-r--r--devel/electron38/files/patch-electron_shell_common_node__bindings.cc10
-rw-r--r--devel/electron38/files/patch-electron_spec_api-app-spec.ts20
4 files changed, 19 insertions, 30 deletions
diff --git a/devel/electron38/files/patch-electron_lib_browser_init.ts b/devel/electron38/files/patch-electron_lib_browser_init.ts
deleted file mode 100644
index ea64a2c6c8f1..000000000000
--- a/devel/electron38/files/patch-electron_lib_browser_init.ts
+++ /dev/null
@@ -1,11 +0,0 @@
---- electron/lib/browser/init.ts.orig 2025-04-04 05:26:44 UTC
-+++ electron/lib/browser/init.ts
-@@ -165,7 +165,7 @@ function currentPlatformSupportsAppIndicator () {
- const KNOWN_XDG_DESKTOP_VALUES = new Set(['Pantheon', 'Unity:Unity7', 'pop:GNOME']);
-
- function currentPlatformSupportsAppIndicator () {
-- if (process.platform !== 'linux') return false;
-+ if (process.platform !== 'linux' && process.platform !== 'freebsd') return false;
- const currentDesktop = process.env.XDG_CURRENT_DESKTOP;
-
- if (!currentDesktop) return false;
diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc
index 12218b5a4012..7779829716a3 100644
--- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/api/electron_api_app.cc.orig 2025-09-02 20:56:04 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig 2025-10-28 14:56:59 UTC
+++ electron/shell/browser/api/electron_api_app.cc
@@ -97,7 +97,7 @@
#include "shell/common/process_util.h"
@@ -45,7 +45,7 @@
// Read the xdg-activation token and set it in the command line for the
// duration of the notification in order to ensure this is propagated to an
// already running electron app instance if it exists.
-@@ -1355,7 +1355,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1435,7 +1435,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
pid_dict.Set("name", process_metric.second->name);
}
@@ -54,7 +54,7 @@
auto memory_info = process_metric.second->GetMemoryInfo();
auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate);
-@@ -1739,7 +1739,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1819,7 +1819,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod(
"removeAsDefaultProtocolClient",
base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -63,7 +63,7 @@
.SetMethod(
"getApplicationInfoForProtocol",
base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1797,7 +1797,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1877,7 +1877,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod("getJumpListSettings", &App::GetJumpListSettings)
.SetMethod("setJumpList", &App::SetJumpList)
#endif
diff --git a/devel/electron38/files/patch-electron_shell_common_node__bindings.cc b/devel/electron38/files/patch-electron_shell_common_node__bindings.cc
index cb6fa1fa4a3f..1e48c2301eb5 100644
--- a/devel/electron38/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron38/files/patch-electron_shell_common_node__bindings.cc
@@ -1,6 +1,6 @@
---- electron/shell/common/node_bindings.cc.orig 2025-09-02 20:56:04 UTC
+--- electron/shell/common/node_bindings.cc.orig 2025-10-21 13:26:57 UTC
+++ electron/shell/common/node_bindings.cc
-@@ -46,7 +46,7 @@
+@@ -49,7 +49,7 @@
#include "third_party/electron_node/src/debug_utils.h"
#include "third_party/electron_node/src/module_wrap.h"
@@ -9,7 +9,7 @@
#include "shell/common/crash_keys.h"
#endif
-@@ -161,7 +161,7 @@ void V8FatalErrorCallback(const char* location, const
+@@ -164,7 +164,7 @@ void V8FatalErrorCallback(const char* location, const
void V8FatalErrorCallback(const char* location, const char* message) {
LOG(ERROR) << "Fatal error in V8: " << location << " " << message;
@@ -18,7 +18,7 @@
electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
#endif
-@@ -183,7 +183,7 @@ void V8OOMErrorCallback(const char* location, const v8
+@@ -186,7 +186,7 @@ void V8OOMErrorCallback(const char* location, const v8
LOG(ERROR) << "OOM detail: " << details.detail;
}
@@ -27,7 +27,7 @@
electron::crash_keys::SetCrashKey("electron.v8-oom.is_heap_oom",
std::to_string(details.is_heap_oom));
if (location) {
-@@ -580,7 +580,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola
+@@ -627,7 +627,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola
TRACE_EVENT0("electron", "NodeBindings::Initialize");
// Open node's error reporting system for browser process.
diff --git a/devel/electron38/files/patch-electron_spec_api-app-spec.ts b/devel/electron38/files/patch-electron_spec_api-app-spec.ts
index ebcc2de849bd..2d68e21081b7 100644
--- a/devel/electron38/files/patch-electron_spec_api-app-spec.ts
+++ b/devel/electron38/files/patch-electron_spec_api-app-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-app-spec.ts.orig 2025-08-13 14:21:20 UTC
+--- electron/spec/api-app-spec.ts.orig 2025-10-28 14:56:59 UTC
+++ electron/spec/api-app-spec.ts
@@ -129,11 +129,11 @@ describe('app module', () => {
});
@@ -63,12 +63,12 @@
});
});
-- ifdescribe(process.platform !== 'linux')('accessibilitySupportEnabled property', () => {
-+ ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibilitySupportEnabled property', () => {
+- ifdescribe(process.platform !== 'linux')('accessibility support functionality', () => {
++ ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibility support functionality', () => {
it('is mutable', () => {
const values = [false, true, false];
const setters: Array<(arg: boolean) => void> = [
-@@ -1233,7 +1233,7 @@ describe('app module', () => {
+@@ -1288,7 +1288,7 @@ describe('app module', () => {
});
});
@@ -77,7 +77,7 @@
let w: BrowserWindow;
before(function () {
-@@ -1368,7 +1368,7 @@ describe('app module', () => {
+@@ -1423,7 +1423,7 @@ describe('app module', () => {
describe('getApplicationNameForProtocol()', () => {
// TODO: Linux CI doesn't have registered http & https handlers
@@ -86,7 +86,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.
-@@ -1386,7 +1386,7 @@ describe('app module', () => {
+@@ -1441,7 +1441,7 @@ describe('app module', () => {
});
});
@@ -95,7 +95,7 @@
it('returns promise rejection for a bogus protocol', async function () {
await expect(
app.getApplicationInfoForProtocol('bogus-protocol://')
-@@ -1436,7 +1436,7 @@ describe('app module', () => {
+@@ -1491,7 +1491,7 @@ describe('app module', () => {
});
// FIXME Get these specs running on Linux CI
@@ -104,7 +104,7 @@
const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico');
const sizes = {
small: 16,
-@@ -1518,7 +1518,7 @@ describe('app module', () => {
+@@ -1573,7 +1573,7 @@ describe('app module', () => {
expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0);
}
@@ -113,7 +113,7 @@
expect(entry.sandboxed).to.be.a('boolean');
}
-@@ -1592,7 +1592,7 @@ describe('app module', () => {
+@@ -1647,7 +1647,7 @@ describe('app module', () => {
it('succeeds with complete GPUInfo', async () => {
const completeInfo = await getGPUInfo('complete');
@@ -122,7 +122,7 @@
// For linux and macOS complete info is same as basic info
await verifyBasicGPUInfo(completeInfo);
const basicInfo = await getGPUInfo('basic');
-@@ -1616,7 +1616,7 @@ describe('app module', () => {
+@@ -1671,7 +1671,7 @@ describe('app module', () => {
});
});