[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-128.3.0esr-14.0-1] 4 commits: fixup! Bug 42660: Disable ProxySelector.openConnectionWithProxy and NOPify...

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Tue Oct 22 08:30:17 UTC 2024



Pier Angelo Vendrame pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser


Commits:
aad5e9c7 by Beatriz Rizental at 2024-10-22T10:15:38+02:00
fixup! Bug 42660: Disable ProxySelector.openConnectionWithProxy and NOPify CrashReporter.sendCrashReport

- - - - -
b27ebe80 by Beatriz Rizental at 2024-10-22T10:16:06+02:00
fixup! [android] Modify add-on support

- - - - -
7d9e9856 by Beatriz Rizental at 2024-10-22T10:20:38+02:00
fixup! Add CI for Base Browser

Run file-whitespace linter for .java file changes.

- - - - -
638726b3 by Beatriz Rizental at 2024-10-22T10:24:10+02:00
fixup! Bug 42716: Disable unwanted about: pages

- - - - -


5 changed files:

- .gitlab/ci/lint.yml
- docshell/base/nsAboutRedirector.cpp
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java
- toolkit/mozapps/extensions/AddonManager.sys.mjs
- toolkit/mozapps/extensions/internal/XPIInstall.sys.mjs


Changes:

=====================================
.gitlab/ci/lint.yml
=====================================
@@ -264,6 +264,7 @@ file-whitespace:
         - '**/*.rst'
         - '**/*.webidl'
         - '**/*.xhtml'
+        - '**/*.java'
         - 'tools/lint/file-whitespace.yml'
     # Run job whenever a commit is merged to a protected branch
     - if: $CI_COMMIT_REF_PROTECTED == 'true'


=====================================
docshell/base/nsAboutRedirector.cpp
=====================================
@@ -193,7 +193,7 @@ static const RedirEntry kRedirMap[] = {
 #  endif
     {"telemetry", "chrome://global/content/aboutTelemetry.xhtml",
      nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
-#endif 
+#endif
     {"torconnect", "chrome://global/content/torconnect/aboutTorConnect.html",
      nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
          nsIAboutModule::URI_CAN_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |


=====================================
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java
=====================================
@@ -173,7 +173,7 @@ public class CrashReporter {
     if (true) {
       return GeckoResult.fromValue("0");
     }
-    
+
     Log.d(LOGTAG, "Sending crash report: " + minidumpFile.getPath());
 
     HttpURLConnection conn = null;


=====================================
toolkit/mozapps/extensions/AddonManager.sys.mjs
=====================================
@@ -2541,7 +2541,8 @@ var AddonManagerInternal = {
       if (installAllowed) {
         if (AppConstants.platform == "android") {
           aInstall.cancel();
-          return this.installGeckoViewWebExtension(aInstall.sourceURI);
+          this.installGeckoViewWebExtension(aInstall.sourceURI);
+          return;
         }
         startInstall("AMO");
       } else if (installPerm === Ci.nsIPermissionManager.DENY_ACTION) {


=====================================
toolkit/mozapps/extensions/internal/XPIInstall.sys.mjs
=====================================
@@ -4476,7 +4476,10 @@ export var XPIInstall = {
     }
 
     // tor-browser#43132: short-circuit permission check on Android scriptless install from AMO
-    if (AppConstants.platform == "android" && uri.prePath == "https://addons.mozilla.org") {
+    if (
+      AppConstants.platform == "android" &&
+      uri.prePath == "https://addons.mozilla.org"
+    ) {
       return true;
     }
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/ff517badf63bed12aa8c1632293669fad94b291b...638726b32791c26371303f51228ec7342828de18

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/ff517badf63bed12aa8c1632293669fad94b291b...638726b32791c26371303f51228ec7342828de18
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20241022/8f74b9db/attachment-0001.htm>


More information about the tbb-commits mailing list