Files
ports/devel/electron42/files/patch-electron_spec_webview.spec.ts
2026-10-04 04:07:15 +00:00

12 lines
687 B
TypeScript

--- electron/spec/webview.spec.ts.orig 2026-09-30 08:48:04 UTC
+++ electron/spec/webview.spec.ts
@@ -617,7 +617,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);