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/ff517ba...