-
Notifications
You must be signed in to change notification settings - Fork 610
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Perfetto UI currently supports an embedded mode via a URL parameter. This suppresses the sidebar and other default behaviours of the UI. However, I am building an application whose integration needs go deeper than this. In particular, I need to be able to
- adjust the way routing works because my application uses the URL hash already for its own purposes
- I need to tweak the content security policy
- I need to customize the keys used by
CacheManagerfor caching in the browser, to separate the caches from my application and satisfy other restrictions - allow file CORS origins
- my application loads up traces into the trace processor before initializing the Perfetto UI, so I need to suppress the dialog that prompts to open a trace already loaded
- handle uncaught errors and promise rejections in my application
- and possibly more
So some kind of API by which I can inject customizations of these Perfetto UI behaviours, before initializing the UI app, would be most helpful to my application.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request