Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Add support for WebExtensions API #445

Closed
1 of 2 tasks
84564221 opened this issue Dec 21, 2015 · 9 comments
Closed
1 of 2 tasks

Add support for WebExtensions API #445

84564221 opened this issue Dec 21, 2015 · 9 comments

Comments

@84564221
Copy link

Example:

jpm run nightly [email protected] --prefs firefox-webextension-env.json

Custom set user preferences (firefox-webextension-env.json):

{
  "xpinstall.signatures.required": "false"
}
@84564221 84564221 changed the title Add support for Webextension API [Bug 1234243] Add support for WebExtensions API Dec 21, 2015
@andymckay
Copy link

Would it make more sense to make a new tool for WebExtensions?

@84564221
Copy link
Author

@andymckay I have posted a message to the dev-addons mailing list.

@jsantell bump

@Mte90
Copy link

Mte90 commented Dec 21, 2015

We have discussed that problem in the mailing list in november: https://mail.mozilla.org/pipermail/dev-addons/2015-November/000150.html
We need that to promote that new API and create new extensions.

@kumar303
Copy link
Contributor

@Mte90 until we have command line support, you can load a web extension from your local source directory which means you don't have to reinstall it or restart Firefox as you develop on it. It just landed on nightly and is available from about:debugging https://bugzilla.mozilla.org/show_bug.cgi?id=1231129

@kumar303 kumar303 changed the title [Bug 1234243] Add support for WebExtensions API Add support for WebExtensions API Dec 21, 2015
@kumar303
Copy link
Contributor

Summary of my response to this on the mailing list:

I think it would make sense to create a new command line tool to develop web extensions with rather than patch jpm. This would allow us to reinvent the web extension development flow which has received much better platform support since jpm was first written.

@Mte90
Copy link

Mte90 commented Dec 21, 2015

So the first problem is resolved internally in firefox :-)
There is not docs in internet about that page actually but this resolve many problem but we need a command line support for use it with autoload of changes!

@kumar303
Copy link
Contributor

The about:debugging page is a brand new thing, we hope to have docs available shortly. I agree about command line support but until then you just have to open the browser once (at the start of your day), install your directory of code, and you can keep hacking throughout the day. However, I think there are edge cases in here that still need to be resolved.

@kumar303
Copy link
Contributor

kumar303 commented Feb 1, 2016

So the first problem is resolved internally in firefox :-)
There is not docs in internet about that page ...

Oh whoops, this was the public thread I was referring to https://mail.mozilla.org/pipermail/dev-addons/2015-December/000230.html (I thought the thread linked above was this, heh)

@kumar303
Copy link
Contributor

kumar303 commented Feb 1, 2016

we need a command line support for use it with autoload of changes!

Agreed!

We decided to create a new tool: https://github.com/mozilla/web-ext

@kumar303 kumar303 closed this as completed Feb 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants