GoogleChrome/audion

Can Audion work in Electron?

marcelblum opened this issue · 2 comments

Has anyone been able to use this extension successfully in Electron? It may just be that Audion uses parts of the Chrome Extensions API that are unsupported in Electron (see session.loadExtension()) but I don't know enough about the internals of extensions to be sure that this is the problem I'm running into so I didn't want to give up before posting here.

Here's how far I've gotten - I've built the extension from source and it loads and works fine in Chrome using Load unpacked. When I try to load it in Electron with loadExtension(), no exceptions are thrown, I can inspect the returned Audion extension object and it looks as expected, and the extension-ready event successfully fires. But the Web Audio panel never appears in the dev tools, and I get a couple of CLI console warnings:
Permission 'debugger' is unknown or URL pattern is malformed.
and
Uncaught TypeError: Cannot read property 'attach' of undefined
Is it impossible?

hoch commented

We have not considered Electron or non-browser environment as a deployment target.

It looks like Debugger extension API is not exposed in Electron? Perhaps it's a good question to ask in Electron's forum?

hoch commented

A bug is filed against Electron. Closing.

Thanks for bringing this to our attention!