fix: restore macOS navigation with unsaved forms

This commit is contained in:
2026-10-15 07:06:48 +00:00
parent 811dbf7fa4
commit 7a656de7ce
9 changed files with 152 additions and 12 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import test from 'node:test';
import { fileURLToPath } from 'node:url';
test(
'WebKit owns interactive navigation and preserves native back/forward history',
'WebKit preserves history and confirms dirty form navigation without losing delegate callbacks',
{ skip: process.platform !== 'darwin' },
() => {
const directory = mkdtempSync(join(tmpdir(), 'kanbangit-navigation-'));
@@ -48,7 +48,7 @@ test(
assert.equal(
result.status,
0,
result.stderr || result.error?.message,
result.stderr || result.error?.message || result.signal,
);
assert.match(result.stdout, /PASS: WebKit/);
} finally {