Skip to content

Backport "[ISSUE-#19208] If scaladocs on file protocol don't do SPA routing." to 3.3 LTS #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Mar 11, 2025

Backports scala#22013 to the 3.3.6.

PR submitted by the release tooling.
[skip ci]

…g. (scala#22013)

If we detect scaladocs are being served locally
(i.e page on the "file" protocol)
then we let the link click event go back to normal handling.

Otherwise unless a user has allowed pages on the file protocol to access
other files

https://github.com/chromium/chromium/blob/b6c23ba2056e65081f8a5bcbf73b176baaa42645/content/public/common/content_switches.cc#L15
for example with the allow-file-access-from-files flag in chrome then
SPA routing won't work.

Fixes scala#19208.
[Cherry-picked 75ddad2]
Base automatically changed from backport-lts-3.3-20157 to lts-3.3 March 12, 2025 08:10
@tgodzik
Copy link
Author

tgodzik commented Mar 12, 2025

No regressions detected in the community build up to backport-lts-3.3-22138.

Reference

@tgodzik tgodzik merged commit 871783e into lts-3.3 Mar 12, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-22013 branch March 12, 2025 08:10
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.

2 participants