Repository navigation
feat: Normalise web-view URLs to app:/// - #43
Merged
Merged
Conversation
timfish
force-pushed
the
tim/normalize-paths
branch
2 times, most recently
from
October 19, 2026 13:24
58f88af to
b68b2b7
Compare
timfish
force-pushed
the
tim/normalize-paths
branch
from
October 19, 2026 13:39
b68b2b7 to
d518513
Compare
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.
Tauri serves the web-view from
tauri://localhoston macOS, iOS and Linux, fromhttp://tauri.localhoston Windows and Android, and from the dev server URL in development, so one bug gave different frame filenames per platform and split into several issues. This adds aTauriNormalizeUrlsintegration todefaultOptionsthat replaceswindow.location.origin(with or without a trailing slash) withapp:///in stack frames,debug_metasource map images,request.url, transaction names, span descriptions and span URL data, and replayurls. It runs as an event processor, afterapplyDebugIdsand beforeapplyDebugMeta, so debug IDs still match and the debug images get the normalisedcode_file; there are no Rust changes, and standalone span envelopes and breadcrumbs are not changed. The newtest/e2e/normalize-paths.test.tschecks the error, debug ID and transaction scenarios, and the README now explains how to upload source maps with debug IDs or theapp:///URL prefix.