Skip to content

Resolve reflected URLs from the owning document base - #905

Merged
wieslawsoltes merged 1 commit into
mainfrom
fix/owner-document-url-reflection-904
Sep 21, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
fix/owner-document-url-reflection-904

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

The nested Code OSS Markdown prelude owns ./fake.html under a virtual HTTPS document, but its reflected iframe src was resolved against the caller's loopback document. This fixes URL-valued element getters to use the owning document base, including <base> changes, without rewriting authored attributes or changing navigation/security paths.

The focused native iframe lifecycle gate passes with connected nested href/src regression assertions, 100 lifecycle cycles, flat heap, and a 1 MiB replacement p95 of 3.73 ms against the existing 250 ms limit. The checked-in Chrome reference returns PASS. The full nested WPT matrix and actual Markdown painting remain tracked in #904, #267 and #903; this PR does not close them. Details: docs/validation/owner-document-url-reflection-904.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant