-
Notifications
You must be signed in to change notification settings - Fork 51
[Profile] Open chrome tracer with browser #1093
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
Comments
Related libraryhttps://www.npmjs.com/package/opn
|
vscode chrome trace viewer extension opens http server with temp directory. |
@yunjayh Good info. I tried to find more info about perfetto. https://perfetto.dev/ https://perfetto.dev/docs/#trace-visualization |
|
Thank you for your detailed research!!!!
+1 to this thought. But, as you can find in the main comment of this issue, I'm not sure how to solve the problem in case of using ssh-extension. |
Same here.. I tried porting vscode chrome trace viewer extension. |
Opening the main page is okay:Because npm/open is a cross-platform network tool, we can open the However, Loading the file is...It seems they only provides an api of https://perfetto.dev/docs/visualization/deep-linking-to-perfetto-ui. (1) wait for the page to be ready I am trying to find if there is any workaround, trying such things as 'window-post-message-proxy'... |
Opening the pages via webview: impossiblevscode doesn't allow webview to open an url outside. They intentionally blocks modals. |
After seeing your huge efforts... I think this issue cannot be achieved before release T.T |
It seems 'perfetto' has blocked itself from 'iframe', for a security reason. AND, vscode extension api document says 'webview' is a kinda 'iframe'. So it shoudn't show up. |
To summarize so far,(1) perfetto maintainers don't aim to support 'vulcanization'(synthethically embedding into other project) because of security reason. Therefore, embedding looks to be impossible. |
Thanks for @dayo09's work. |
Can we open a json in Chrome Tracer without clicking
|
Other way around to use perfetto is using popup window ( It seems like perfetto is not an option. |
So it came to the same conclusion. Let's go with #1135 instead. |
What?
Let's try opening chrome tracer with browser, especially when ssh-connection.
Why?
To check if deprecation of json-tracer is okay.
The text was updated successfully, but these errors were encountered: