Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retain installed Content Security Policy when document.open reuses a Document, and process meta elements in its new input stream without resetting other Documents.
Covers top-level and child Window eval realms, plus lightweight popup code generation through main's existing native javascript-URL task path. Checks delivered policy retention, stricter reinserted meta policies and same-Document identity after repeated reopen, while preserving other Documents' processed-meta state. Live blob-worker policy sources and borrowed popup intrinsics require unmerged infrastructure and are excluded from this extraction. The popup fixture explicitly removes meta before reopening: main's legacy popup stream retains its head, and full popup stream replacement is a separate prerequisite. The stricter policy must survive both element removal and reopening.
Ported from development commit
29cb9a67395f.Validation on
62bec1ed80c22219756f16556a3ec4447e3ebe2a:cargo fmt --allcargo clippy --workspace --all-targets --all-features -- -D warningscargo nextest run --no-fail-fast— Summary [ 205.261s] 22909 tests run: 22909 passed (1 slow), 20 skipped; zero retries.