Skip to content

chore: keep data: URLs out of the non-standard scheme origin patch - #53681

Open
trop[bot] wants to merge 1 commit into
45-x-yfrom
trop/45-x-y-bp-chore-keep-data-urls-out-of-the-non-standard-scheme-origin-patch-1788796446528
Open

chore: keep data: URLs out of the non-standard scheme origin patch#53681
trop[bot] wants to merge 1 commit into
45-x-yfrom
trop/45-x-y-bp-chore-keep-data-urls-out-of-the-non-standard-scheme-origin-patch-1788796446528

Conversation

@trop

@trop trop Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Backport of #53667

See that PR for details.

Notes: none

fix_crash_loading_non-standard_schemes_in_iframes.patch short-circuits origin
computation for every non-standard URL so subframes on embedder-registered
custom schemes do not trip CanAccessDataForOrigin. data: is also non-standard,
so those navigations were taking the Electron branch too and skipping the
nonce caching and initiator precursor upstream applies to data: URLs
(crrev.com/c/4902624). Exclude data: in both the browser and renderer hunks so
they stay on Chromium's path and the two sides keep agreeing.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop
trop Bot requested a review from a team as a code owner September 7, 2026 15:54
@trop
trop Bot requested a review from codebytere September 7, 2026 15:54
@trop trop Bot added 45-x-y backport This is a backport PR semver/none labels Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant