diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron35/files/patch-electron_spec_chromium-spec.ts | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron35/files/patch-electron_spec_chromium-spec.ts')
| -rw-r--r-- | devel/electron35/files/patch-electron_spec_chromium-spec.ts | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/devel/electron35/files/patch-electron_spec_chromium-spec.ts b/devel/electron35/files/patch-electron_spec_chromium-spec.ts deleted file mode 100644 index 1c0dbc9b0e42..000000000000 --- a/devel/electron35/files/patch-electron_spec_chromium-spec.ts +++ /dev/null @@ -1,44 +0,0 @@ ---- electron/spec/chromium-spec.ts.orig 2025-05-27 20:59:13 UTC -+++ electron/spec/chromium-spec.ts -@@ -475,13 +475,13 @@ describe('command line switches', () => { - it('should not set an invalid locale', async () => testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`)); - - const lcAll = String(process.env.LC_ALL); -- ifit(process.platform === 'linux')('current process has a valid LC_ALL env', async () => { -+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('current process has a valid LC_ALL env', async () => { - // The LC_ALL env should not be set to DOM locale string. - expect(lcAll).to.not.equal(app.getLocale()); - }); -- ifit(process.platform === 'linux')('should not change LC_ALL', async () => testLocale('fr', lcAll, true)); -- ifit(process.platform === 'linux')('should not change LC_ALL when setting invalid locale', async () => testLocale('asdfkl', lcAll, true)); -- ifit(process.platform === 'linux')('should not change LC_ALL when --lang is not set', async () => testLocale('', lcAll, true)); -+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('should not change LC_ALL', async () => testLocale('fr', lcAll, true)); -+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('should not change LC_ALL when setting invalid locale', async () => testLocale('asdfkl', lcAll, true)); -+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('should not change LC_ALL when --lang is not set', async () => testLocale('', lcAll, true)); - }); - - describe('--remote-debugging-pipe switch', () => { -@@ -2958,12 +2958,12 @@ describe('font fallback', () => { - expect(fonts[0].familyName).to.equal('Arial'); - } else if (process.platform === 'darwin') { - expect(fonts[0].familyName).to.equal('Helvetica'); -- } else if (process.platform === 'linux') { -+ } else if (process.platform === 'linux' || process.platform === 'freebsd') { - expect(fonts[0].familyName).to.equal('DejaVu Sans'); - } // I think this depends on the distro? We don't specify a default. - }); - -- ifit(process.platform !== 'linux')('should fall back to Japanese font for sans-serif Japanese script', async function () { -+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should fall back to Japanese font for sans-serif Japanese script', async function () { - const html = ` - <html lang="ja-JP"> - <head> -@@ -3507,7 +3507,7 @@ describe('paste execCommand', () => { - }); - }); - --ifdescribe((process.platform !== 'linux' || app.isUnityRunning()))('navigator.setAppBadge/clearAppBadge', () => { -+ifdescribe(((process.platform !== 'linux' && process.platform !== 'freebsd') || app.isUnityRunning()))('navigator.setAppBadge/clearAppBadge', () => { - let w: BrowserWindow; - - const expectedBadgeCount = 42; |
