diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-03-13 09:40:00 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-03-13 09:40:00 +0000 |
commit | 074009c945cc68a322e2a4bc11a6f982bc720011 (patch) | |
tree | 1c67356e9f5d127a8e483d1ac9e3aa265cdceb62 /devel/electron7/files/patch-electron_spec_chromium-spec.js | |
parent | - Update WWW (diff) |
Add electron7 7.1.14, build cross-platform desktop apps with JavaScript,
HTML, and CSS.
Notes
Notes:
svn path=/head/; revision=528341
Diffstat (limited to 'devel/electron7/files/patch-electron_spec_chromium-spec.js')
-rw-r--r-- | devel/electron7/files/patch-electron_spec_chromium-spec.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-electron_spec_chromium-spec.js b/devel/electron7/files/patch-electron_spec_chromium-spec.js new file mode 100644 index 000000000000..f797d16345e0 --- /dev/null +++ b/devel/electron7/files/patch-electron_spec_chromium-spec.js @@ -0,0 +1,27 @@ +--- electron/spec/chromium-spec.js.orig 2019-12-13 19:48:14 UTC ++++ electron/spec/chromium-spec.js +@@ -831,7 +831,7 @@ describe('chromium feature', () => { + }) + + it('can be get as context in canvas', () => { +- if (process.platform === 'linux') { ++ if (process.platform === 'linux' || process.platform === 'freebsd') { + // FIXME(alexeykuzmin): Skip the test. + // this.skip() + return +@@ -1416,12 +1416,13 @@ describe('font fallback', () => { + expect(fonts[0].familyName).to.equal({ + 'win32': 'Arial', + 'darwin': 'Helvetica', +- 'linux': 'DejaVu Sans' // I think this depends on the distro? We don't specify a default. ++ 'linux': 'DejaVu Sans', // I think this depends on the distro? We don't specify a default. ++ 'freebsd': 'DejaVu Sans' + }[process.platform]) + }) + + it('should fall back to Japanese font for sans-serif Japanese script', async function () { +- if (process.platform === 'linux') { ++ if (process.platform === 'linux' || process.platform === 'freebsd') { + return this.skip() + } + const html = ` |