opnsense-ports/devel/electron33/files/patch-electron_spec_api-web-frame-main-spec.ts
Franco Fichtner 6d031d4c91 */*: sync with upstream
Taken from: FreeBSD
2024-11-19 10:01:34 +01:00

11 lines
634 B
TypeScript

--- electron/spec/api-web-frame-main-spec.ts.orig 2024-11-07 16:14:43 UTC
+++ electron/spec/api-web-frame-main-spec.ts
@@ -307,7 +307,7 @@ describe('webFrameMain module', () => {
});
// TODO(jkleinsc) fix this flaky test on linux
- ifit(process.platform !== 'linux')('throws upon accessing properties when disposed', async () => {
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('throws upon accessing properties when disposed', async () => {
await w.loadFile(path.join(subframesPath, 'frame-with-frame-container.html'));
const { mainFrame } = w.webContents;
w.destroy();