forked from Lainports/opnsense-ports
11 lines
694 B
TypeScript
11 lines
694 B
TypeScript
--- electron/spec/webview-spec.ts.orig 2023-01-24 16:58:16 UTC
|
|
+++ electron/spec/webview-spec.ts
|
|
@@ -526,7 +526,7 @@ describe('<webview> tag', function () {
|
|
});
|
|
|
|
// FIXME(zcbenz): Fullscreen events do not work on Linux.
|
|
- ifit(process.platform !== 'linux')('exiting fullscreen should unfullscreen window', async () => {
|
|
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('exiting fullscreen should unfullscreen window', async () => {
|
|
const [w, webview] = await loadWebViewWindow();
|
|
const enterFullScreen = emittedOnce(w, 'enter-full-screen');
|
|
await webview.executeJavaScript('document.getElementById("div").requestFullscreen()', true);
|