forked from Lainports/opnsense-ports
11 lines
687 B
TypeScript
11 lines
687 B
TypeScript
--- electron/spec/webview-spec.ts.orig 2024-04-16 14:29:17 UTC
|
|
+++ electron/spec/webview-spec.ts
|
|
@@ -556,7 +556,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 = once(w, 'enter-full-screen');
|
|
await webview.executeJavaScript('document.getElementById("div").requestFullscreen()', true);
|