browsh/webext
Thomas Buckley-Houston b387f66c69 Launch and install webextension from client
This means that Browsh can now be entirely run just by running the CLI
binary. The client launches Firefox as a subprocess, then connects to it
via the Marionette protocol, installs the webextension and finally
triggers a new tab with, currently, the Google homepage in it.

I was trying to set this up for automated testing as well by installing
the built webextension as a temporary addon, because otherwise you need
to sign the extension everytime with a unique semantic version. However
for some reason I can't quite recreate the environment that MDN's
`web-ext` creates. The extension installs fine but fails to load the
`content.js` script, I can't find a backtrace or any other details about
the failure. So for now, we're just going to have to use `web-ext` as
seperate process and have the client connect to that. Which is what one
should do during development anyway, so it's not a huge loss.
2018-01-21 11:56:05 +08:00
..
assets Launch and install webextension from client 2018-01-21 11:56:05 +08:00
contrib Launch and install webextension from client 2018-01-21 11:56:05 +08:00
dist Launch and install webextension from client 2018-01-21 11:56:05 +08:00
src Launch and install webextension from client 2018-01-21 11:56:05 +08:00
test Refactored webext background script 2018-01-10 22:54:51 +08:00
.eslintrc Refactored webext background script 2018-01-10 22:54:51 +08:00
.web-extension-id First draft of rewrite to Webextension and Rust 2018-01-01 21:50:30 +08:00
background.js Refactored webext background script 2018-01-10 22:54:51 +08:00
content.js Refactored webext background script 2018-01-10 22:54:51 +08:00
firefoxheadless.sh First draft of mouse down/up/click support 2018-01-17 11:00:37 +08:00
manifest.json Launch and install webextension from client 2018-01-21 11:56:05 +08:00
package-lock.json Launch and install webextension from client 2018-01-21 11:56:05 +08:00
package.json Launch and install webextension from client 2018-01-21 11:56:05 +08:00
webpack.config.js Launch and install webextension from client 2018-01-21 11:56:05 +08:00