// @vitest-environment jsdom
/** Inert parsing precedes the restrictive policy so source markup cannot navigate or load frames. */
import { expect, it } from 'vitest'
import { createBasicHtmlDocument } from '../src/client/html/basic-document.ts'
it('preserves static content and removes navigation, policy overrides and active documents', () => {
const html = createBasicHtmlDocument(new TextEncoder().encode(`
Static