summaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-electron_spec_api-net-log-spec.ts
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-07-15 22:57:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-07-15 23:02:24 +0900
commitd6775c3866b3a55fa254d8ad9c746953d80bad8e (patch)
treee486c7a0d074a5409e46c9ee82c72ca423ee7254 /devel/electron37/files/patch-electron_spec_api-net-log-spec.ts
parentaudio/baresip: Update to 3.24.0 (diff)
devel/electron37: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
Diffstat (limited to 'devel/electron37/files/patch-electron_spec_api-net-log-spec.ts')
-rw-r--r--devel/electron37/files/patch-electron_spec_api-net-log-spec.ts29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-electron_spec_api-net-log-spec.ts b/devel/electron37/files/patch-electron_spec_api-net-log-spec.ts
new file mode 100644
index 000000000000..5a52c3198a13
--- /dev/null
+++ b/devel/electron37/files/patch-electron_spec_api-net-log-spec.ts
@@ -0,0 +1,29 @@
+--- electron/spec/api-net-log-spec.ts.orig 2024-10-09 13:53:06 UTC
++++ electron/spec/api-net-log-spec.ts
+@@ -121,7 +121,7 @@ describe('netLog module', () => {
+ expect(JSON.parse(dump).events.some((x: any) => x.params && x.params.bytes && Buffer.from(x.params.bytes, 'base64').includes(unique))).to.be.true('uuid present in dump');
+ });
+
+- ifit(process.platform !== 'linux')('should begin and end logging automatically when --log-net-log is passed', async () => {
++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should begin and end logging automatically when --log-net-log is passed', async () => {
+ const appProcess = ChildProcess.spawn(process.execPath,
+ [appPath], {
+ env: {
+@@ -134,7 +134,7 @@ describe('netLog module', () => {
+ expect(fs.existsSync(dumpFile)).to.be.true('dump file exists');
+ });
+
+- ifit(process.platform !== 'linux')('should begin and end logging automatically when --log-net-log is passed, and behave correctly when .startLogging() and .stopLogging() is called', async () => {
++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should begin and end logging automatically when --log-net-log is passed, and behave correctly when .startLogging() and .stopLogging() is called', async () => {
+ const appProcess = ChildProcess.spawn(process.execPath,
+ [appPath], {
+ env: {
+@@ -150,7 +150,7 @@ describe('netLog module', () => {
+ expect(fs.existsSync(dumpFileDynamic)).to.be.true('dynamic dump file exists');
+ });
+
+- ifit(process.platform !== 'linux')('should end logging automatically when only .startLogging() is called', async () => {
++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should end logging automatically when only .startLogging() is called', async () => {
+ const appProcess = ChildProcess.spawn(process.execPath,
+ [appPath], {
+ env: {