Embedded Web Extension to experiment with Containers in Firefox Test Pilot to learn:
- Will a general Firefox audience understand the Containers feature?
- Is the UI as currently implemented in Nightly clear or discoverable?
See the Product Hypothesis Document for more details.
- node 7+ (for jpm)
- Firefox 51+
See Development
Add-on development is better with a particular environment. One simple way to get that environment set up is to install the DevPrefs add-on. You can make a custom Firefox profile that includes the DevPrefs add-on, and use that profile when you run the code in this repository.
-
Make a new profile by running
/path/to/firefox -P
, which launches the profile editor. "Create Profile" -- name it whatever you wish (e.g. 'addon_dev') and store it in the default location. It's probably best to deselect the option to "Use without asking," since you probably don't want to use this as your default profile. -
Once you've created your profile, click "Start Firefox". A new instance of Firefox should launch. Go to Tools->Add-ons and search for "DevPrefs". Install it. Quit Firefox.
-
Now you have a new, vanilla Firefox profile with the DevPrefs add-on installed. You can use your new profile with the code in this repository like so:
Beta building
To build this for 51 beta just using the downloaded version of beta will not work as XPI signature checking is disabled fully.
The only way to run the experiment is using an unbranded version build or to build beta yourself:
- Download the mozilla-beta repo
- Create a mozconfig file - probably optional
cd <reponame>
./mach bootstrap
./mach build
- Follow the above instructions by creating the new profile via:
~/<reponame>/obj-x86_64-pc-linux-gnu/dist/bin/firefox -P
(Where "obj-x86_64-pc-linux-gnu" may be different depending on platform obj-...)
git clone git@github.com:mozilla/testpilot-containers.git
cd testpilot-containers
npm install
./node_modules/.bin/jpm run -p /Path/To/Firefox/Profiles/{junk}.addon_dev -b FirefoxBeta
(where FirefoxBeta might be: ~//obj-x86_64-pc-linux-gnu/dist/bin/firefox or ~//firefox)
Check out the Browser Toolbox for more information about debugging add-on code.
TBD
TBD