Skip to content

[Bug]: Official trace-viewer (trace.playwright.dev) now refusing to load traces on local network #38207

@splint33

Description

@splint33

Version

latest

Steps to reproduce

Host, on a https server, a playwright trace file.
With Google Chrome < v142, try to load the trace with the URL trace parameter, like this:
https://trace.playwright.dev/?trace=https://xxxx//playwright_trace.zip
File load fine.
With Google Chrome > v142, and with the flag #local-network-access-check unset, try to load the file like previously.
No popup asking access to local network access is shown and the trace does not load.
Setting the chrome flag to disabled fixes the issue.

Expected behavior

A popup asking for local network access is shown to the user.
If he accept, the trace load.
If he denies, the trace does not load and an error is shown.

I expect a behavior similar to shown in this example website, with a popup:
https://lna-testing.notyetsecure.com/

Actual behavior

No popup, the trace does not load unless the user set the chrome flag #local-network-access-check to disabled.

Additional context

This problem appeared following changes made into chromium 142, with a detailled documentation here:
https://docs.google.com/document/d/1QQkqehw8umtAgz5z0um7THx-aoU251p705FbIQjDuGs/edit?pli=1&tab=t.0

Environment

System:
    OS: Windows 11 10.0.26200
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
    Memory: 15.55 GB / 31.69 GB
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.22.0 - C:\Users\xxx\AppData\Roaming\npm\pnpm.CMD
  Languages:
    Bash: 5.2.26 - C:\Program Files\Git\bin\bash.EXE

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions