Skip to content

Conversation

@nilgaar
Copy link
Contributor

@nilgaar nilgaar commented Oct 5, 2025

Fixes #37709.
Updates the Trace Viewer fallback dialog (when opened via file://) to produce a working “Copy Command.”
It now decodes the URL path and quotes it (and normalizes slashes on Windows), so paths with spaces or special characters open correctly via npx playwright show-report.

@nilgaar
Copy link
Contributor Author

nilgaar commented Oct 5, 2025

@microsoft-github-policy-service agree

@github-actions

This comment has been minimized.

@nilgaar nilgaar force-pushed the fix/37709-trace-viewer-quote-decode branch from 3edd962 to 8eb851e Compare October 5, 2025 14:56
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Member

@Skn0tt Skn0tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for taking the time to open a PR. From a cursory look, this seems like it's going in the right direction. Could you make sure that there's no formatting changes mixed in? That'd make it a lot easier to review + accept.

@github-actions

This comment has been minimized.

@nilgaar nilgaar force-pushed the fix/37709-trace-viewer-quote-decode branch from 9c802b5 to 8f3f1c8 Compare October 6, 2025 17:26
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

Test results for "tests 1"

2 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node18`
⚠️ [firefox-page] › page/page-wait-for-function.spec.ts:104 › should work with strict CSP policy `@firefox-ubuntu-22.04-node18`

46926 passed, 816 skipped


Merge workflow run.

Copy link
Member

@Skn0tt Skn0tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you! I cross-checked that this doesn't collide with #37706.

@Skn0tt Skn0tt requested a review from dgozman October 7, 2025 07:20
@Skn0tt Skn0tt merged commit d963d12 into microsoft:main Oct 7, 2025
35 checks passed
@nilgaar nilgaar deleted the fix/37709-trace-viewer-quote-decode branch October 7, 2025 09:19
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.

[Bug]: Trace Viewer “Copy Command” uses URL-encoded + unquoted path when opened via file://, breaks on paths with spaces

3 participants