blob: 4fad0d2a9c444a786d69b2afe25e758b62250125 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- electron/spec/chromium-spec.js.orig 2019-11-20 23:42:47 UTC
+++ electron/spec/chromium-spec.js
@@ -866,7 +866,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
@@ -1550,12 +1550,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 = `
|