summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-electron_spec_api-browser-window-spec.js
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron4/files/patch-electron_spec_api-browser-window-spec.js
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'devel/electron4/files/patch-electron_spec_api-browser-window-spec.js')
-rw-r--r--devel/electron4/files/patch-electron_spec_api-browser-window-spec.js38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/electron4/files/patch-electron_spec_api-browser-window-spec.js b/devel/electron4/files/patch-electron_spec_api-browser-window-spec.js
new file mode 100644
index 000000000000..782143881c42
--- /dev/null
+++ b/devel/electron4/files/patch-electron_spec_api-browser-window-spec.js
@@ -0,0 +1,38 @@
+--- electron/spec/api-browser-window-spec.js.orig 2019-05-14 02:19:04 UTC
++++ electron/spec/api-browser-window-spec.js
+@@ -1208,7 +1208,7 @@ describe('BrowserWindow module', () => {
+
+ describe('enableLargerThanScreen" option', () => {
+ before(function () {
+- if (process.platform === 'linux') {
++ if (process.platform === 'linux' || process.platform === 'freebsd') {
+ this.skip()
+ }
+ })
+@@ -2198,7 +2198,7 @@ describe('BrowserWindow module', () => {
+ w.loadFile(path.join(fixtures, 'pages', 'visibilitychange.html'))
+ })
+ it('visibilityState changes when window is minimized', function (done) {
+- if (isCI && process.platform === 'linux') {
++ if (isCI && (process.platform === 'linux' || process.platform === 'freebsd')) {
+ // FIXME(alexeykuzmin): Skip the test instead of marking it as passed.
+ // afterEach hook won't be run if a test is skipped dynamically.
+ // If afterEach isn't run current window won't be destroyed
+@@ -2388,7 +2388,7 @@ describe('BrowserWindow module', () => {
+ }
+
+ // FIXME These specs crash on Linux when run in a docker container
+- if (isCI && process.platform === 'linux') {
++ if (isCI && (process.platform === 'linux' || process.platform === 'freebsd')) {
+ this.skip()
+ }
+ })
+@@ -2620,7 +2620,7 @@ describe('BrowserWindow module', () => {
+ // - `.skip()` called in the 'beforeEach' hook prevents 'afterEach'
+ // hook from being called.
+ // Not implemented on Linux.
+- if (process.platform === 'linux') {
++ if (process.platform === 'linux' || process.platform === 'freebsd') {
+ return
+ }
+