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
[Bug]: Can't save performance traces from the performance tab in DevTools #39818
Comments
This doesn't seem to be a bug in Electron, but instead an issue in Chromium. I can replicate the same error when trying to record a performance trace on a random webpage using the latest Chrome on macOS for example. I couldn't find a relevant issue on their issue tracker so I went ahead and filed chromium/issues/1483230. |
Chrome ( |
For context, the issue replicates for me on Chrome versions |
Same issue on:
Very unfortunate as this blocks a proper analysis of many consecutive dropped frames w/no execution. Was unable to resolve by manually applying full-disk access permissions to the bundled |
This reproduces for Electron 27.1.2 in dev mode and in packaged/signed mode, whether saving to paths that are restricted or allowed by the protocol filter. |
This seems to be fixed in Electron v29. Is there any chance it will be fixed in v28 as well? Still reproduces for me on v28.2.3 |
@devinbinnie based on above, this was a Chromium issue, so not something that Electron fixed. I'd assume a fix won't be backported. |
Fixed with #41492 |
Preflight Checklist
Electron Version
26.2.0
What operating system are you using?
macOS
Operating System Version
macOS Monterey 12.3 (21E230)
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
24.8.2
Expected Behavior
When recording a performance trace in the devtools, I should be able to hit the save button and save the JSON file for sharing and parsing in other applications.
Actual Behavior
Failed to save timeline: The request is not allowed by the user agent or the platform in the current context. (NotAllowedError)
is logged to the consoleZero byte file is created at the save location.
Testcase Gist URL
No response
Additional Information
On macOS Monterey 12.3 (21E230):
24.8.2 works
25.0.0 does not work
25.3.2 does not work
26.2.0 does not work
27.0.0-beta.1 does not work
On a Linux machine, 25.0.0 breaks while 24.0.0 works.
uname -a
:Linux 6.5.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 06 Sep 2023 21:01:01 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: