ports/devel/electron28/files/patch-electron_spec_webview-spec.ts
2024-02-16 14:15:22 +09:00

11 lines
687 B
TypeScript

--- electron/spec/webview-spec.ts.orig 2024-02-14 18:35:26 UTC
+++ electron/spec/webview-spec.ts
@@ -555,7 +555,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);