summaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-electron_spec_chromium-spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-electron_spec_chromium-spec.js')
-rw-r--r--devel/electron7/files/patch-electron_spec_chromium-spec.js27
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..72a0b169d90f
--- /dev/null
+++ b/devel/electron7/files/patch-electron_spec_chromium-spec.js
@@ -0,0 +1,27 @@
+--- electron/spec/chromium-spec.js.orig 2020-05-15 00:25:58 UTC
++++ electron/spec/chromium-spec.js
+@@ -828,7 +828,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;
+@@ -1413,12 +1413,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 = `