Skip to content

Commit def6ce9

Browse files
committed
Document differences between Android and non-Android Firefox UI...
1 parent 4b8d450 commit def6ce9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/chrome.manifest

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,15 @@ contract @eff.org/https-everywhere;1 {32c165b4-fe5e-4964-9250-603c410631b4}
4242

4343
category profile-after-change HTTPSEverywhere @eff.org/https-everywhere;1
4444

45+
# XUL gets included in every non-mobile build
46+
# Android has some non-XUL UI that is loaded from the
47+
# sessionstore-windows-restored observer in https-everywhere.js
4548
overlay chrome://browser/content/browser.xul chrome://https-everywhere/content/toolbar_button.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} application={3550f703-e582-4d05-9a08-453d09bdfdc6} application={a79fe89b-6662-4ff4-8e88-09950ad4dfde}
4649
overlay chrome://navigator/content/navigator.xul chrome://https-everywhere/content/toolbar_button.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} application={3550f703-e582-4d05-9a08-453d09bdfdc6} application={a79fe89b-6662-4ff4-8e88-09950ad4dfde}
4750

4851
style chrome://global/content/customizeToolbar.xul chrome://https-everywhere/skin/https-everywhere.css
4952

53+
# Observatory does not yet have mobile-friendly UI
5054
component {0f9ab521-986d-4ad8-9c1f-6934e195c15c} components/ssl-observatory.js application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} application={3550f703-e582-4d05-9a08-453d09bdfdc6} application={a79fe89b-6662-4ff4-8e88-09950ad4dfde}
5155
contract @eff.org/ssl-observatory;1 {0f9ab521-986d-4ad8-9c1f-6934e195c15c} application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} application={3550f703-e582-4d05-9a08-453d09bdfdc6} application={a79fe89b-6662-4ff4-8e88-09950ad4dfde}
5256
category profile-after-change SSLObservatory @eff.org/ssl-observatory;1 application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} application={3550f703-e582-4d05-9a08-453d09bdfdc6} application={a79fe89b-6662-4ff4-8e88-09950ad4dfde}

src/components/https-everywhere.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,9 +729,10 @@ HTTPSEverywhere.prototype = {
729729
toggleEnabledState: function() {
730730
if(this.prefs.getBoolPref("globalEnabled")){
731731
try{
732+
// toggling some of these after startup may be inconsequential...
733+
// this.obsService.removeObserver(this, "sessionstore-windows-restored");
732734
this.obsService.removeObserver(this, "profile-before-change");
733735
this.obsService.removeObserver(this, "profile-after-change");
734-
this.obsService.removeObserver(this, "sessionstore-windows-restored");
735736
OS.removeObserver(this, "cookie-changed");
736737
OS.removeObserver(this, "http-on-modify-request");
737738
OS.removeObserver(this, "http-on-examine-merged-response");
@@ -755,7 +756,7 @@ HTTPSEverywhere.prototype = {
755756
try{
756757
this.obsService.addObserver(this, "profile-before-change", false);
757758
this.obsService.addObserver(this, "profile-after-change", false);
758-
this.obsService.addObserver(this, "sessionstore-windows-restored", false);
759+
// this.obsService.addObserver(this, "sessionstore-windows-restored", false);
759760
OS.addObserver(this, "cookie-changed", false);
760761
OS.addObserver(this, "http-on-modify-request", false);
761762
OS.addObserver(this, "http-on-examine-merged-response", false);

0 commit comments

Comments
 (0)