ports/devel/electron32/files/patch-electron_spec_webview-spec.ts
2024-10-18 05:00:08 +09:00

11 lines
687 B
TypeScript

--- electron/spec/webview-spec.ts.orig 2024-10-09 13:53:06 UTC
+++ electron/spec/webview-spec.ts
@@ -559,7 +559,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);