Compare commits

...

12 Commits

Author SHA1 Message Date
luke crouch e3ed4582d2 Merge pull request #707 from jonathanKingston/icon-reset-fix
Fix on update icons being reset to central defaults. Fixes #703
2017-08-03 16:05:54 +00:00
Jonathan Kingston 38c098edb6 Fix on update icons being reset to central defaults. Fixes #703 2017-08-03 11:26:00 +01:00
Jonathan Kingston ee63f72f3e Merge pull request #698 from mozilla/bump-version-to-2.4.1
bump version to 2.4.1
2017-07-31 19:51:15 +01:00
groovecoder 4cbcfac0f4 bump version to 2.4.1 2017-07-31 11:40:18 -05:00
luke crouch 641c95e64e Merge pull request #681 from jonathanKingston/set-default-background
Set default background to fix dark linux themes. Fixes #677
2017-07-18 18:53:01 +00:00
Jonathan Kingston b646a9183c Set default background to fix dark linux themes. Fixes #677 2017-07-17 15:22:45 +01:00
luke crouch 6e2ed6393e Merge pull request #669 from jonathanKingston/assignment-index
Fix assignment index loading at the end of the tab strip.
2017-07-14 10:53:10 -05:00
Jonathan Kingston af98174a19 Fix assignment index loading at the end of the tab strip. Fixes #672. 2017-07-14 10:44:53 +01:00
luke crouch 1c8530ef02 Merge pull request #668 from jonathanKingston/mac-keybord-shortcut
Adding a keyboard shortcut that will work on MacOS. Ctrl+.
2017-07-13 16:12:56 -05:00
Jonathan Kingston 366f9ec047 Adding a keyboard shortcut that will work on MacOS. Ctrl+. 2017-07-13 21:42:07 +01:00
luke crouch 63343f18eb Merge pull request #664 from mozilla/add-surveyurl-for-shield
add surveyUrl for shield study participants
2017-07-11 11:39:50 -05:00
groovecoder 080e9dd22d add surveyUrl for shield study participants 2017-07-11 11:08:38 -05:00
6 changed files with 14 additions and 6 deletions
+3 -3
View File
@@ -1028,6 +1028,8 @@ const ContainerService = {
// Let's forget all the previous closed tabs.
this._forgetIdentity();
this._resetContainerToCentralIcons();
const preInstalledIdentities = data.preInstalledIdentities;
ContextualIdentityProxy.getIdentities().forEach(identity => {
if (!preInstalledIdentities.includes(identity.userContextId)) {
@@ -1326,8 +1328,6 @@ ContainerWindow.prototype = {
this._shutdownFileMenu();
this._shutdownAllTabsMenu();
this._shutdownContextMenu();
this._shutdownContainers();
},
_shutDownPlusButtonMenuElement(buttonElement) {
@@ -1390,7 +1390,7 @@ ContainerWindow.prototype = {
return true;
},
_shutdownContainers() {
_resetContainerToCentralIcons() {
ContextualIdentityProxy.getIdentities().forEach(identity => {
if (IDENTITY_ICONS_STANDARD.indexOf(identity.icon) !== -1 &&
IDENTITY_COLORS_STANDARD.indexOf(identity.color) !== -1) {
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "testpilot-containers",
"title": "Containers Experiment",
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored Container Tabs. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
"version": "2.4.0",
"version": "2.5.0",
"author": "Andrea Marchesini, Luke Crouch and Jonathan Kingston",
"bugs": {
"url": "https://github.com/mozilla/testpilot-containers/issues"
+5
View File
@@ -7,10 +7,15 @@ const { when: unload } = require("sdk/system/unload");
const shield = require("./lib/shield/index");
const surveyUrl = "https://www.surveygizmo.com/s3/3621810/shield-txp-containers";
const studyConfig = {
name: self.addonId,
days: 28,
surveyUrls: {
"end-of-study": surveyUrl,
"user-ended-study": surveyUrl,
ineligible: null,
},
variations: {
"control": () => {},
+1
View File
@@ -12,6 +12,7 @@
}
html {
background-color: #fefefe;
box-sizing: border-box;
font-size: 12px;
}
+1
View File
@@ -82,6 +82,7 @@ load();
async function openInContainer(redirectUrl, cookieStoreId) {
const tab = await getCurrentTab();
await browser.tabs.create({
index: tab[0].index + 1,
cookieStoreId,
url: redirectUrl
});
+3 -2
View File
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Containers Experiment",
"version": "2.4.0",
"version": "2.5.0",
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored Container Tabs. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
"icons": {
@@ -35,7 +35,8 @@
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+Period"
"default": "Ctrl+Period",
"mac": "MacCtrl+Period"
},
"description": "Open containers panel"
}