Skip to content
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

Support for custom connections #77

Open
janodvarko opened this issue Nov 17, 2015 · 2 comments
Open

Support for custom connections #77

janodvarko opened this issue Nov 17, 2015 · 2 comments

Comments

@janodvarko
Copy link
Member

It should be possible to monitor even connection that are initiated by custom clients (e.g.coming from extensions) not only the Toolbox and WebIDE

Honza

@janodvarko
Copy link
Member Author

API: We probably want to utilize connect event fired by DebuggerClient.prototype.connect() method.

UI/UX: One option is to create a new tab in the Connection List window.
Existing tabs: Local Tabs, WebIDE
New tab: Other

Honza

@janodvarko
Copy link
Member Author

Here is an extension that creates a connection to the backend (Toolbox not opened):

https://github.com/firebug/har-export-trigger/

If you set extensions.netmonitor.har.autoConnect preference to true, the extension automatically connect to the backend (through a custom connection) immediately after Firefox starts.

Btw. the extension exports HAR API into the page (content scope) HAR.triggerExport and HAR.clear. If it's useful for testing I could also expose something like HAR.disconnect that closes the connection, so we can test whether the Connection List window is properly updated.

Honza

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

No branches or pull requests

1 participant