Pier Angelo Vendrame pushed to branch tor-browser-128.0esr-14.0-2 at The Tor Project / Applications / Tor Browser
Commits:
646ee32d by Henry Wilkes at 2024-07-31T14:16:49+01:00
fixup! Bug 40597: Implement TorSettings module
Bug 42622: Send TorConnect "Error" signal before "StateChange".
- - - - -
1 changed file:
- toolkit/modules/TorConnect.sys.mjs
Changes:
=====================================
toolkit/modules/TorConnect.sys.mjs
=====================================
@@ -687,16 +687,7 @@ class ErrorState extends StateCallback {
ErrorState.#hasEverHappened = true;
}
- run(error) {
- if (!(error instanceof TorConnectError)) {
- error = new TorConnectError(TorConnectError.ExternalError, error);
- }
- TorConnect._errorCode = error.code;
- TorConnect._errorDetails = error;
- lazy.logger.error(`Entering error state (${error.code})`, error);
-
- Services.obs.notifyObservers(error, TorConnectTopics.Error);
-
+ run(_error) {
this.changeState(TorConnectState.Configuring);
}
@@ -904,6 +895,23 @@ export const TorConnect = {
// Set our new state first so that state transitions can themselves
// trigger a state transition.
this._stateHandler = this._makeState(newState);
+
+ // Error signal needs to be sent out before we enter the Error state.
+ // Expected on android `onBootstrapError` to set lastKnownError.
+ // Expected in about:torconnect to set the error codes and internet status
+ // *before* the StateChange signal.
+ if (newState === TorConnectState.Error) {
+ let error = args[0];
+ if (!(error instanceof TorConnectError)) {
+ error = new TorConnectError(TorConnectError.ExternalError, error);
+ }
+ TorConnect._errorCode = error.code;
+ TorConnect._errorDetails = error;
+ lazy.logger.error(`Entering error state (${error.code})`, error);
+
+ Services.obs.notifyObservers(error, TorConnectTopics.Error);
+ }
+
Services.obs.notifyObservers(
{ state: newState },
TorConnectTopics.StateChange
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/646ee32…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/646ee32…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
dfac6c0a by Pier Angelo Vendrame at 2024-07-31T08:50:18+02:00
Bug 41201: Require Windows 10 or later in the installer.
Firefox 128 is not compatible with Windows 7, 8, and 8.1 anymore, so we
should notify the users before they start installing it.
- - - - -
3 changed files:
- projects/browser/windows-installer/add-strings.py
- projects/browser/windows-installer/common.nsh
- projects/browser/windows-installer/languages.nsh
Changes:
=====================================
projects/browser/windows-installer/add-strings.py
=====================================
@@ -73,7 +73,7 @@ languages = {
replacements = {
"min_windows_version": {
"program": "${PROJECT_NAME}",
- "version": "7",
+ "version": "10",
},
"welcome_title": ("${DISPLAY_NAME}",),
"mb_intro": ("${PROJECT_NAME}",),
=====================================
projects/browser/windows-installer/common.nsh
=====================================
@@ -61,7 +61,7 @@
;--------------------------------
; Helper functions
Function CheckRequirements
- ${IfNot} ${AtLeastWin7}
+ ${IfNot} ${AtLeastWin10}
MessageBox MB_USERICON|MB_OK "$(min_windows_version)"
SetErrorLevel 1
Quit
=====================================
projects/browser/windows-installer/languages.nsh
=====================================
@@ -6,7 +6,8 @@
LangString add_shortcuts ${LANG_ENGLISH} "&Add Start menu and desktop icons"
; Use %(program)s instead of ${PROJECT_NAME} and %(version)s instead of 7
; when sending the string from localization.
- LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 7 or later."
+ ; Remember to update also add-strings.py when bumping the Windows version.
+ LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 10 or later."
LangString destination_exists ${LANG_ENGLISH} "The destination folder already exists. Do you want to continue anyway?"
; Mullvad Browser strings
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/d…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/d…
You're receiving this email because of your account on gitlab.torproject.org.
boklm pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
e5560888 by Morgan at 2024-07-30T21:05:34+00:00
Bug 41197: Modify nightly's update-responses to prevent upgrades on unsupported Windows and macOS versions
- - - - -
1 changed file:
- tools/signing/nightly/update-responses-base-config.yml
Changes:
=====================================
tools/signing/nightly/update-responses-base-config.yml
=====================================
@@ -18,14 +18,17 @@ versions:
nightly_version:
platformVersion: 115.1.0
detailsURL: https://nightlies.tbb.torproject.org/
+ # minSupportedOsVersion on macOS corresponds to the Darwin version ( https://en.wikipedia.org/wiki/Darwin_(operating_system) )
macos:
- minSupportedOSVersion: 16.0.0
+ # macOS v10.15.0
+ minSupportedOSVersion: 19.0.0
+ # minSupportedOsVersion on Windows corresponds to the operating system version ( https://docs.microsoft.com/en-us/windows/win32/sysinfo/operating-system-ver… )
windows-i686:
- minSupportedOSVersion: 6.1
- minSupportedInstructionSet: SSE2
+ # Windows 10
+ minSupportedOSVersion: 10.0
windows-x86_64:
- minSupportedOSVersion: 6.1
- minSupportedInstructionSet: SSE2
+ # Windows v10
+ minSupportedOSVersion: 10.0
linux-i686:
minSupportedInstructionSet: SSE2
linux-x86_64:
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch mullvad-browser-128.0esr-14.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
c973c48c by Pier Angelo Vendrame at 2024-07-30T14:45:53+02:00
MB 38: Mullvad Browser configuration
- - - - -
2462093b by Pier Angelo Vendrame at 2024-07-30T14:45:54+02:00
MB 1: Mullvad Browser branding
See also:
mullvad-browser#5: Product name and directory customization
mullvad-browser#12: Create new branding directories and integrate Mullvad icons+branding
mullvad-browser#14: Remove Default Built-in bookmarks
mullvad-browser#35: Add custom PDF icons for Windows builds
mullvad-browser#48: Replace Mozilla copyright and legal trademarks in mullvadbrowser.exe metadata
mullvad-browser#51: Update trademark string
mullvad-browser#104: Update shipped dll metadata copyright/licensing info
mullvad-browser#107: Add alpha and nightly icons
- - - - -
a0e6251a by Beatriz Rizental at 2024-07-30T15:01:08+02:00
fixup! MB 1: Mullvad Browser branding
- - - - -
8d0e6099 by Pier Angelo Vendrame at 2024-07-30T15:01:09+02:00
MB 20: Allow packaged-addons in PBM.
We install a few addons from the distribution directory, but they are
not automatically enabled for PBM mode.
This commit modifies the code that installs them to also add the PBM
permission to the known ones.
- - - - -
2b1dca6b by Pier Angelo Vendrame at 2024-07-30T15:01:13+02:00
MB 63: Customize some about pages for Mullvad Browser
Also:
mullvad-browser#57: Purge unneeded about: pages
- - - - -
06b2c505 by Beatriz Rizental at 2024-07-30T15:01:19+02:00
fixup! MB 63: Customize some about pages for Mullvad Browser
- - - - -
ece4cf2f by Pier Angelo Vendrame at 2024-07-30T15:01:19+02:00
MB 37: Customization for the about dialog
- - - - -
3816bdc6 by Beatriz Rizental at 2024-07-30T17:51:28+02:00
fixup! MB 37: Customization for the about dialog
- - - - -
802a81b7 by Henry Wilkes at 2024-07-30T17:51:36+02:00
MB 39: Add home page about:mullvad-browser
- - - - -
eb3e9a4c by Beatriz Rizental at 2024-07-30T17:51:37+02:00
fixup! MB 39: Add home page about:mullvad-browser
- - - - -
6c91f268 by hackademix at 2024-07-30T17:51:38+02:00
MB 97: Remove UI cues to install new extensions.
- - - - -
5c428612 by hackademix at 2024-07-30T17:51:38+02:00
MB 47: uBlock Origin customization
- - - - -
978ba4f0 by Beatriz Rizental at 2024-07-30T17:51:39+02:00
fixup! MB 47: uBlock Origin customization
- - - - -
ffc45078 by Pier Angelo Vendrame at 2024-07-30T17:51:40+02:00
MB 21: Disable the password manager
This commit disables the about:login page and removes the "Login and
Password" section of about:preferences.
We do not do anything to the real password manager of Firefox, that is
in toolkit: it contains C++ parts that make it difficult to actually
prevent it from being built..
Finally, we modify the the function that opens about:login to report an
error in the console so that we can quickly get a backtrace to the code
that tries to use it.
- - - - -
8df34002 by Beatriz Rizental at 2024-07-30T17:51:40+02:00
fixup! MB 21: Disable the password manager
- - - - -
d5685d80 by Pier Angelo Vendrame at 2024-07-30T17:51:41+02:00
MB 112: Updater customization for Mullvad Browser
MB 71: Set the updater base URL to Mullvad domain
- - - - -
4f52e254 by Beatriz Rizental at 2024-07-30T17:51:41+02:00
fixup! MB 112: Updater customization for Mullvad Browser
- - - - -
a72bde96 by Nicolas Vigier at 2024-07-30T17:51:42+02:00
MB 79: Add Mullvad Browser MAR signing keys
MB 256: Add mullvad-browser nightly mar signing key
- - - - -
ac7a0cd1 by Pier Angelo Vendrame at 2024-07-30T17:51:42+02:00
MB 34: Hide unsafe and unwanted preferences UI
about:preferences allow to override some of our defaults, that could
be fingeprintable or have some other unwanted consequences.
- - - - -
389150a5 by Pier Angelo Vendrame at 2024-07-30T17:51:43+02:00
MB 160: Disable the cookie exceptions button
Besides disabling the "Delete on close checkbox", disable also the
"Manage Exceptions" button when always using PBM.
- - - - -
ca83366e by hackademix at 2024-07-30T17:51:44+02:00
MB 163: prevent uBlock Origin from being uninstalled/disabled
- - - - -
ca262991 by Richard Pospesel at 2024-07-30T17:51:44+02:00
MB 188: Customize Gitlab Issue and Merge templates
- - - - -
0b2c6394 by rui hildt at 2024-07-30T17:51:45+02:00
MB 213: Customize the search engines list
- - - - -
8d319f53 by Beatriz Rizental at 2024-07-30T17:51:45+02:00
fixup! MB 213: Customize the search engines list
- - - - -
35d1d01a by hackademix at 2024-07-30T17:51:46+02:00
MB 214: Enable cross-tab identity leak protection in "quiet" mode
- - - - -
ae34c89c by Pier Angelo Vendrame at 2024-07-30T17:51:46+02:00
MB 234: Disable OS spoofing in HTTP User-Agent.
This commits makes it possible to disable OS spoofing in the HTTP
User-Agent header, to see if matching header and JS property improve
usability.
- - - - -
85eaf2cc by Pier Angelo Vendrame at 2024-07-30T17:51:47+02:00
MB 80: Enable Mullvad Browser as a default browser
- - - - -
6e132f09 by Beatriz Rizental at 2024-07-30T17:51:48+02:00
fixup! MB 80: Enable Mullvad Browser as a default browser
- - - - -
054003a2 by Pier Angelo Vendrame at 2024-07-30T17:51:48+02:00
MB 320: Temporarily disable WebRTC and WDBA on Windows.
WebRTC should be re-enabled when tor-browser#42758 is resolved, and and
the default browser agent when in general we make this feature work
again.
- - - - -
30 changed files:
- .gitlab/issue_templates/Emergency Security Issue.md
- + .gitlab/issue_templates/Rebase Browser - Alpha.md
- + .gitlab/issue_templates/Rebase Browser - Stable.md
- .gitlab/merge_request_templates/default.md
- browser/app/Makefile.in
- browser/app/macbuild/Contents/Info.plist.in
- browser/app/module.ver
- browser/app/firefox.exe.manifest → browser/app/mullvadbrowser.exe.manifest
- + browser/app/profile/000-mullvad-browser.js
- browser/app/profile/001-base-profile.js
- browser/base/content/aboutDialog.xhtml
- browser/base/content/appmenu-viewcache.inc.xhtml
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-places.js
- browser/base/content/browser.js
- browser/base/content/default-bookmarks.html
- browser/base/content/nsContextMenu.js
- browser/base/content/overrides/app-license.html
- browser/base/content/pageinfo/pageInfo.xhtml
- browser/base/content/utilityOverlay.js
- browser/branding/branding-common.mozbuild
- + browser/branding/mb-alpha/VisualElements_150.png
- + browser/branding/mb-alpha/VisualElements_70.png
- + browser/branding/mb-alpha/configure.sh
- + browser/branding/mb-alpha/content/about-logo.png
- + browser/branding/mb-alpha/content/about-logo.svg
- + browser/branding/mb-alpha/content/about-logo(a)2x.png
- + browser/branding/mb-alpha/content/about-wordmark.svg
- + browser/branding/mb-alpha/content/about.png
- + browser/branding/mb-alpha/content/aboutDialog.css
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/b9…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/b9…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch mullvad-browser-128.0esr-14.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
f0717dcb by Beatriz Rizental at 2024-07-29T17:00:34+02:00
fixup! Add CI for Base Browser
- - - - -
9448012d by Pier Angelo Vendrame at 2024-07-30T09:06:25+02:00
fixup! Firefox preference overrides.
Bug 42872: Disable translations.
Currently, the UX is kinda bad in Tor Browser (RFP might be a reason).
Also, we should audit it first, to make sure it is not a
fingerprinting concern (or if it is, we should make sure it is an
acceptable one).
- - - - -
b94825b7 by Beatriz Rizental at 2024-07-30T12:25:35+02:00
Revert "Bug 42725: Fix upstream lint issues"
This reverts commit 0c49b3f6b7101e95e33f697234648eeaef070a46.
- - - - -
5 changed files:
- .gitlab/ci/lint.yml
- browser/app/profile/001-base-profile.js
- dom/base/nsGlobalWindowOuter.cpp
- dom/security/nsContentSecurityUtils.cpp
- modules/libpref/Preferences.cpp
Changes:
=====================================
.gitlab/ci/lint.yml
=====================================
@@ -39,9 +39,8 @@ eslint:
# The plugin implementing custom checks.
- 'tools/lint/eslint/eslint-plugin-mozilla/**'
- 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
stylelint:
extends: .base
@@ -59,9 +58,8 @@ stylelint:
# Run when stylelint policies change.
- '**/.stylelintignore'
- '**/*stylelintrc*'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-black:
extends: .base
@@ -80,9 +78,8 @@ py-black:
- '**/*.mozbuild'
- 'pyproject.toml'
- 'tools/lint/black.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-ruff:
extends: .base
@@ -101,9 +98,8 @@ py-ruff:
- 'tools/lint/ruff.yml'
- 'tools/lint/python/ruff.py'
- 'tools/lint/python/ruff_requirements.txt'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
yaml:
extends: .base
@@ -118,9 +114,8 @@ yaml:
- '**/*.yml'
- '**/*.yaml'
- '**/.ymllint'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
shellcheck:
extends: .base
@@ -134,9 +129,8 @@ shellcheck:
#
- '**/*.sh'
- 'tools/lint/shellcheck.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
clang-format:
extends: .base
@@ -156,9 +150,8 @@ clang-format:
- '**/*.m'
- '**/*.mm'
- 'tools/lint/clang-format.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
rustfmt:
extends: .base
@@ -172,9 +165,8 @@ rustfmt:
#
- '**/*.rs'
- 'tools/lint/rustfmt.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
fluent-lint:
extends: .base
@@ -189,9 +181,8 @@ fluent-lint:
- '**/*.ftl'
- 'tools/lint/fluent-lint.yml'
- 'tools/lint/fluent-lint/exclusions.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
localization:
extends: .base
@@ -208,9 +199,8 @@ localization:
- 'third_party/python/compare-locales/**'
- 'third_party/python/fluent/**'
- 'tools/lint/l10n.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mingw-capitalization:
extends: .base
@@ -227,9 +217,8 @@ mingw-capitalization:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mingw-capitalization.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mscom-init:
extends: .base
@@ -246,9 +235,8 @@ mscom-init:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mscom-init.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
file-whitespace:
extends: .base
@@ -277,9 +265,8 @@ file-whitespace:
- '**/*.webidl'
- '**/*.xhtml'
- 'tools/lint/file-whitespace.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
test-manifest:
extends: .base
@@ -294,9 +281,8 @@ test-manifest:
- '**/*.ini'
- 'python/mozlint/**'
- 'tools/lint/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
trojan-source:
extends: .base
@@ -315,6 +301,5 @@ trojan-source:
- '**/*.py'
- '**/*.rs'
- 'tools/lint/trojan-source.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -259,6 +259,11 @@ pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiment
// Disable fetching asrouter.ftl and related console errors (tor-browser#40763).
pref("browser.newtabpage.activity-stream.asrouter.useRemoteL10n", false);
+// tor-browser#42872, #42555: Disable translations.
+// Translation have a bad UX in 128 (and with our config). Maybe we will
+// re-enable after auditing and fixing the UX.
+pref("browser.translations.enable", false);
+
// tor-browser#41945 - disable automatic cookie banners dismissal until
// we're sure it does not causes fingerprinting risks or other issues.
pref("cookiebanners.service.mode", 0);
=====================================
dom/base/nsGlobalWindowOuter.cpp
=====================================
@@ -7296,7 +7296,7 @@ void nsGlobalWindowOuter::InitWasOffline() { mWasOffline = NS_IsOffline(); }
#if defined(_WINDOWS_) && !defined(MOZ_WRAPPED_WINDOWS_H)
# pragma message( \
- "wrapper failure reason: " MOZ_WINDOWS_WRAPPER_DISABLED_REASON)
+ "wrapper failure reason: " MOZ_WINDOWS_WRAPPER_DISABLED_REASON)
# error "Never include unwrapped windows.h in this file!"
#endif
=====================================
dom/security/nsContentSecurityUtils.cpp
=====================================
@@ -1332,20 +1332,20 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
// This allowlist contains about: pages that are permanently allowed to
// render without a CSP applied.
static nsLiteralCString sAllowedAboutPagesWithNoCSP[] = {
- // about:blank is a special about page -> no CSP
- "about:blank"_ns,
- // about:srcdoc is a special about page -> no CSP
- "about:srcdoc"_ns,
- // about:sync-log displays plain text only -> no CSP
- "about:sync-log"_ns,
- // about:logo just displays the firefox logo -> no CSP
- "about:logo"_ns,
- // about:sync is a special mozilla-signed developer addon with low usage
- // ->
- // no CSP
- "about:sync"_ns,
+ // about:blank is a special about page -> no CSP
+ "about:blank"_ns,
+ // about:srcdoc is a special about page -> no CSP
+ "about:srcdoc"_ns,
+ // about:sync-log displays plain text only -> no CSP
+ "about:sync-log"_ns,
+ // about:logo just displays the firefox logo -> no CSP
+ "about:logo"_ns,
+ // about:sync is a special mozilla-signed developer addon with low usage
+ // ->
+ // no CSP
+ "about:sync"_ns,
# if defined(ANDROID)
- "about:config"_ns,
+ "about:config"_ns,
# endif
};
=====================================
modules/libpref/Preferences.cpp
=====================================
@@ -6100,8 +6100,7 @@ void UnloadPrefsModule() { Preferences::Shutdown(); }
// Preference Sanitization Related Code ---------------------------------------
-#define PREF_LIST_ENTRY(s) \
- { s, (sizeof(s) / sizeof(char)) - 1 }
+#define PREF_LIST_ENTRY(s) {s, (sizeof(s) / sizeof(char)) - 1}
struct PrefListEntry {
const char* mPrefBranch;
size_t mLen;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/d7…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/d7…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-128.0esr-14.0-2 at The Tor Project / Applications / Tor Browser
Commits:
b94825b7 by Beatriz Rizental at 2024-07-30T12:25:35+02:00
Revert "Bug 42725: Fix upstream lint issues"
This reverts commit 0c49b3f6b7101e95e33f697234648eeaef070a46.
- - - - -
3 changed files:
- dom/base/nsGlobalWindowOuter.cpp
- dom/security/nsContentSecurityUtils.cpp
- modules/libpref/Preferences.cpp
Changes:
=====================================
dom/base/nsGlobalWindowOuter.cpp
=====================================
@@ -7296,7 +7296,7 @@ void nsGlobalWindowOuter::InitWasOffline() { mWasOffline = NS_IsOffline(); }
#if defined(_WINDOWS_) && !defined(MOZ_WRAPPED_WINDOWS_H)
# pragma message( \
- "wrapper failure reason: " MOZ_WINDOWS_WRAPPER_DISABLED_REASON)
+ "wrapper failure reason: " MOZ_WINDOWS_WRAPPER_DISABLED_REASON)
# error "Never include unwrapped windows.h in this file!"
#endif
=====================================
dom/security/nsContentSecurityUtils.cpp
=====================================
@@ -1332,20 +1332,20 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
// This allowlist contains about: pages that are permanently allowed to
// render without a CSP applied.
static nsLiteralCString sAllowedAboutPagesWithNoCSP[] = {
- // about:blank is a special about page -> no CSP
- "about:blank"_ns,
- // about:srcdoc is a special about page -> no CSP
- "about:srcdoc"_ns,
- // about:sync-log displays plain text only -> no CSP
- "about:sync-log"_ns,
- // about:logo just displays the firefox logo -> no CSP
- "about:logo"_ns,
- // about:sync is a special mozilla-signed developer addon with low usage
- // ->
- // no CSP
- "about:sync"_ns,
+ // about:blank is a special about page -> no CSP
+ "about:blank"_ns,
+ // about:srcdoc is a special about page -> no CSP
+ "about:srcdoc"_ns,
+ // about:sync-log displays plain text only -> no CSP
+ "about:sync-log"_ns,
+ // about:logo just displays the firefox logo -> no CSP
+ "about:logo"_ns,
+ // about:sync is a special mozilla-signed developer addon with low usage
+ // ->
+ // no CSP
+ "about:sync"_ns,
# if defined(ANDROID)
- "about:config"_ns,
+ "about:config"_ns,
# endif
};
=====================================
modules/libpref/Preferences.cpp
=====================================
@@ -6100,8 +6100,7 @@ void UnloadPrefsModule() { Preferences::Shutdown(); }
// Preference Sanitization Related Code ---------------------------------------
-#define PREF_LIST_ENTRY(s) \
- { s, (sizeof(s) / sizeof(char)) - 1 }
+#define PREF_LIST_ENTRY(s) {s, (sizeof(s) / sizeof(char)) - 1}
struct PrefListEntry {
const char* mPrefBranch;
size_t mLen;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/b94825b…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/b94825b…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.0esr-14.0-2 at The Tor Project / Applications / Tor Browser
Commits:
3599a60b by Beatriz Rizental at 2024-07-30T11:15:51+02:00
Revert "Bug 42725: Fix upstream lint issues"
This reverts commit 0c49b3f6b7101e95e33f697234648eeaef070a46.
- - - - -
3 changed files:
- dom/base/nsGlobalWindowOuter.cpp
- dom/security/nsContentSecurityUtils.cpp
- modules/libpref/Preferences.cpp
Changes:
=====================================
dom/base/nsGlobalWindowOuter.cpp
=====================================
@@ -7300,7 +7300,7 @@ void nsGlobalWindowOuter::InitWasOffline() { mWasOffline = NS_IsOffline(); }
#if defined(_WINDOWS_) && !defined(MOZ_WRAPPED_WINDOWS_H)
# pragma message( \
- "wrapper failure reason: " MOZ_WINDOWS_WRAPPER_DISABLED_REASON)
+ "wrapper failure reason: " MOZ_WINDOWS_WRAPPER_DISABLED_REASON)
# error "Never include unwrapped windows.h in this file!"
#endif
=====================================
dom/security/nsContentSecurityUtils.cpp
=====================================
@@ -1335,20 +1335,20 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
// This allowlist contains about: pages that are permanently allowed to
// render without a CSP applied.
static nsLiteralCString sAllowedAboutPagesWithNoCSP[] = {
- // about:blank is a special about page -> no CSP
- "about:blank"_ns,
- // about:srcdoc is a special about page -> no CSP
- "about:srcdoc"_ns,
- // about:sync-log displays plain text only -> no CSP
- "about:sync-log"_ns,
- // about:logo just displays the firefox logo -> no CSP
- "about:logo"_ns,
- // about:sync is a special mozilla-signed developer addon with low usage
- // ->
- // no CSP
- "about:sync"_ns,
+ // about:blank is a special about page -> no CSP
+ "about:blank"_ns,
+ // about:srcdoc is a special about page -> no CSP
+ "about:srcdoc"_ns,
+ // about:sync-log displays plain text only -> no CSP
+ "about:sync-log"_ns,
+ // about:logo just displays the firefox logo -> no CSP
+ "about:logo"_ns,
+ // about:sync is a special mozilla-signed developer addon with low usage
+ // ->
+ // no CSP
+ "about:sync"_ns,
# if defined(ANDROID)
- "about:config"_ns,
+ "about:config"_ns,
# endif
};
=====================================
modules/libpref/Preferences.cpp
=====================================
@@ -6100,8 +6100,7 @@ void UnloadPrefsModule() { Preferences::Shutdown(); }
// Preference Sanitization Related Code ---------------------------------------
-#define PREF_LIST_ENTRY(s) \
- { s, (sizeof(s) / sizeof(char)) - 1 }
+#define PREF_LIST_ENTRY(s) {s, (sizeof(s) / sizeof(char)) - 1}
struct PrefListEntry {
const char* mPrefBranch;
size_t mLen;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3599a60…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3599a60…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch mullvad-browser-128.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
f5246bd3 by Pier Angelo Vendrame at 2024-07-30T09:34:47+02:00
fixup! Firefox preference overrides.
Bug 42872: Disable translations.
Currently, the UX is kinda bad in Tor Browser (RFP might be a reason).
Also, we should audit it first, to make sure it is not a
fingerprinting concern (or if it is, we should make sure it is an
acceptable one).
- - - - -
1 changed file:
- browser/app/profile/001-base-profile.js
Changes:
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -259,6 +259,11 @@ pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiment
// Disable fetching asrouter.ftl and related console errors (tor-browser#40763).
pref("browser.newtabpage.activity-stream.asrouter.useRemoteL10n", false);
+// tor-browser#42872, #42555: Disable translations.
+// Translation have a bad UX in 128 (and with our config). Maybe we will
+// re-enable after auditing and fixing the UX.
+pref("browser.translations.enable", false);
+
// tor-browser#41945 - disable automatic cookie banners dismissal until
// we're sure it does not causes fingerprinting risks or other issues.
pref("cookiebanners.service.mode", 0);
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/f52…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/f52…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.0esr-14.0-2 at The Tor Project / Applications / Tor Browser
Commits:
f5137417 by Pier Angelo Vendrame at 2024-07-29T18:45:42+02:00
fixup! Firefox preference overrides.
Bug 42872: Disable translations.
Currently, the UX is kinda bad in Tor Browser (RFP might be a reason).
Also, we should audit it first, to make sure it is not a
fingerprinting concern (or if it is, we should make sure it is an
acceptable one).
- - - - -
1 changed file:
- browser/app/profile/001-base-profile.js
Changes:
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -259,6 +259,11 @@ pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiment
// Disable fetching asrouter.ftl and related console errors (tor-browser#40763).
pref("browser.newtabpage.activity-stream.asrouter.useRemoteL10n", false);
+// tor-browser#42872, #42555: Disable translations.
+// Translation have a bad UX in 128 (and with our config). Maybe we will
+// re-enable after auditing and fixing the UX.
+pref("browser.translations.enable", false);
+
// tor-browser#41945 - disable automatic cookie banners dismissal until
// we're sure it does not causes fingerprinting risks or other issues.
pref("cookiebanners.service.mode", 0);
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f513741…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f513741…
You're receiving this email because of your account on gitlab.torproject.org.
boklm pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
92bd7662 by Nicolas Vigier at 2024-07-30T08:21:56+02:00
Bug 41194: Add user morgan on signing machines
- - - - -
2 changed files:
- tools/signing/machines-setup/setup-signing-machine
- + tools/signing/machines-setup/ssh-keys/morgan.pub
Changes:
=====================================
tools/signing/machines-setup/setup-signing-machine
=====================================
@@ -96,6 +96,8 @@ sudoers_file set-date
authorized_keys boklm boklm-tb-release.pub boklm-yk1.pub
create_user richard signing
authorized_keys richard richard.pub
+create_user morgan signing
+authorized_keys morgan morgan.pub
# Install rbm deps
install_packages libyaml-libyaml-perl libtemplate-perl libdatetime-perl \
=====================================
tools/signing/machines-setup/ssh-keys/morgan.pub
=====================================
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCxOZQLd6QSfBYAdGKeptwqrxcLiV6yHY6cEhMWIWMHQFY5sdhSqpg+T5+L9PYHr1Gl3f7+YXUqKXpGnqLY9fVUEas/zxa8D9//P2fG838uphqTk12wvlN2kuLzyo9s8sQmNZVEJ0w3ktc3e6CDv2wikKw5opmBaHXf2LKk/5HjawcjSLPdXVZVlEby8EprIHjb0a8Zn46WYRtUwUEIPrrFsbq97cEt0oMu1mVvdLR+G5nzSxQdKP0XnGu//PND5z7DvCIJA9bwaA3vV9R2uvmvyn9n5p1zxX6yiHwz2OVUoXyetemXtsMFGlHUZV4XAMcJPz00MZQFjAChsb8C4IyFMdWBiLng70PuFGGnIdx0ZX1TA3Gum2tNwdX9+pFT+0gxN0I4hFC0+PSxqGpmZtGZ1D1ZQeQuZwBMf4u5f/24kw/b9jkasuUGMTtLdD0wwmT8sSuOSyusroMmrHaofFX6Ciu7DnmFwyFqvemz7GNX9R1A2GzGYejBcvr4SuWonQ1mEy0mvhaDZn935IplwsF2aYNjGxH1Hpjo5362JfFpEaEfKvzkotQ9bNXoznseztQCzhEB8DielOYJ/ZDcKtFijHIzMNr9pj0qnLAdBjRarWpd8n+erF82GKoBmSi7BOXgck1i/R1meyvb494wl+lFZL+89FZZ5ZGSn1+j1RkMFw== openpgp:0xF65B11DA
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/9…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/9…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-128.0esr-14.0-2 at The Tor Project / Applications / Tor Browser
Commits:
f0717dcb by Beatriz Rizental at 2024-07-29T17:00:34+02:00
fixup! Add CI for Base Browser
- - - - -
1 changed file:
- .gitlab/ci/lint.yml
Changes:
=====================================
.gitlab/ci/lint.yml
=====================================
@@ -39,9 +39,8 @@ eslint:
# The plugin implementing custom checks.
- 'tools/lint/eslint/eslint-plugin-mozilla/**'
- 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
stylelint:
extends: .base
@@ -59,9 +58,8 @@ stylelint:
# Run when stylelint policies change.
- '**/.stylelintignore'
- '**/*stylelintrc*'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-black:
extends: .base
@@ -80,9 +78,8 @@ py-black:
- '**/*.mozbuild'
- 'pyproject.toml'
- 'tools/lint/black.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-ruff:
extends: .base
@@ -101,9 +98,8 @@ py-ruff:
- 'tools/lint/ruff.yml'
- 'tools/lint/python/ruff.py'
- 'tools/lint/python/ruff_requirements.txt'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
yaml:
extends: .base
@@ -118,9 +114,8 @@ yaml:
- '**/*.yml'
- '**/*.yaml'
- '**/.ymllint'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
shellcheck:
extends: .base
@@ -134,9 +129,8 @@ shellcheck:
#
- '**/*.sh'
- 'tools/lint/shellcheck.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
clang-format:
extends: .base
@@ -156,9 +150,8 @@ clang-format:
- '**/*.m'
- '**/*.mm'
- 'tools/lint/clang-format.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
rustfmt:
extends: .base
@@ -172,9 +165,8 @@ rustfmt:
#
- '**/*.rs'
- 'tools/lint/rustfmt.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
fluent-lint:
extends: .base
@@ -189,9 +181,8 @@ fluent-lint:
- '**/*.ftl'
- 'tools/lint/fluent-lint.yml'
- 'tools/lint/fluent-lint/exclusions.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
localization:
extends: .base
@@ -208,9 +199,8 @@ localization:
- 'third_party/python/compare-locales/**'
- 'third_party/python/fluent/**'
- 'tools/lint/l10n.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mingw-capitalization:
extends: .base
@@ -227,9 +217,8 @@ mingw-capitalization:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mingw-capitalization.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mscom-init:
extends: .base
@@ -246,9 +235,8 @@ mscom-init:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mscom-init.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
file-whitespace:
extends: .base
@@ -277,9 +265,8 @@ file-whitespace:
- '**/*.webidl'
- '**/*.xhtml'
- 'tools/lint/file-whitespace.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
test-manifest:
extends: .base
@@ -294,9 +281,8 @@ test-manifest:
- '**/*.ini'
- 'python/mozlint/**'
- 'tools/lint/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
trojan-source:
extends: .base
@@ -315,6 +301,5 @@ trojan-source:
- '**/*.py'
- '**/*.rs'
- 'tools/lint/trojan-source.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f0717dc…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f0717dc…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-128.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
d23b4d80 by Beatriz Rizental at 2024-07-29T16:53:19+02:00
fixup! Add CI for Base Browser
- - - - -
1 changed file:
- .gitlab/ci/lint.yml
Changes:
=====================================
.gitlab/ci/lint.yml
=====================================
@@ -39,9 +39,8 @@ eslint:
# The plugin implementing custom checks.
- 'tools/lint/eslint/eslint-plugin-mozilla/**'
- 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
stylelint:
extends: .base
@@ -59,9 +58,8 @@ stylelint:
# Run when stylelint policies change.
- '**/.stylelintignore'
- '**/*stylelintrc*'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-black:
extends: .base
@@ -80,9 +78,8 @@ py-black:
- '**/*.mozbuild'
- 'pyproject.toml'
- 'tools/lint/black.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-ruff:
extends: .base
@@ -101,9 +98,8 @@ py-ruff:
- 'tools/lint/ruff.yml'
- 'tools/lint/python/ruff.py'
- 'tools/lint/python/ruff_requirements.txt'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
yaml:
extends: .base
@@ -118,9 +114,8 @@ yaml:
- '**/*.yml'
- '**/*.yaml'
- '**/.ymllint'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
shellcheck:
extends: .base
@@ -134,9 +129,8 @@ shellcheck:
#
- '**/*.sh'
- 'tools/lint/shellcheck.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
clang-format:
extends: .base
@@ -156,9 +150,8 @@ clang-format:
- '**/*.m'
- '**/*.mm'
- 'tools/lint/clang-format.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
rustfmt:
extends: .base
@@ -172,9 +165,8 @@ rustfmt:
#
- '**/*.rs'
- 'tools/lint/rustfmt.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
fluent-lint:
extends: .base
@@ -189,9 +181,8 @@ fluent-lint:
- '**/*.ftl'
- 'tools/lint/fluent-lint.yml'
- 'tools/lint/fluent-lint/exclusions.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
localization:
extends: .base
@@ -208,9 +199,8 @@ localization:
- 'third_party/python/compare-locales/**'
- 'third_party/python/fluent/**'
- 'tools/lint/l10n.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mingw-capitalization:
extends: .base
@@ -227,9 +217,8 @@ mingw-capitalization:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mingw-capitalization.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mscom-init:
extends: .base
@@ -246,9 +235,8 @@ mscom-init:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mscom-init.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
file-whitespace:
extends: .base
@@ -277,9 +265,8 @@ file-whitespace:
- '**/*.webidl'
- '**/*.xhtml'
- 'tools/lint/file-whitespace.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
test-manifest:
extends: .base
@@ -294,9 +281,8 @@ test-manifest:
- '**/*.ini'
- 'python/mozlint/**'
- 'tools/lint/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
trojan-source:
extends: .base
@@ -315,6 +301,5 @@ trojan-source:
- '**/*.py'
- '**/*.rs'
- 'tools/lint/trojan-source.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d23b4d8…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d23b4d8…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch mullvad-browser-128.0esr-14.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
d7c7e1ad by Beatriz Rizental at 2024-07-29T16:52:04+02:00
fixup! Add CI for Base Browser
- - - - -
1 changed file:
- .gitlab/ci/lint.yml
Changes:
=====================================
.gitlab/ci/lint.yml
=====================================
@@ -39,9 +39,8 @@ eslint:
# The plugin implementing custom checks.
- 'tools/lint/eslint/eslint-plugin-mozilla/**'
- 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
stylelint:
extends: .base
@@ -59,9 +58,8 @@ stylelint:
# Run when stylelint policies change.
- '**/.stylelintignore'
- '**/*stylelintrc*'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-black:
extends: .base
@@ -80,9 +78,8 @@ py-black:
- '**/*.mozbuild'
- 'pyproject.toml'
- 'tools/lint/black.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-ruff:
extends: .base
@@ -101,9 +98,8 @@ py-ruff:
- 'tools/lint/ruff.yml'
- 'tools/lint/python/ruff.py'
- 'tools/lint/python/ruff_requirements.txt'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
yaml:
extends: .base
@@ -118,9 +114,8 @@ yaml:
- '**/*.yml'
- '**/*.yaml'
- '**/.ymllint'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
shellcheck:
extends: .base
@@ -134,9 +129,8 @@ shellcheck:
#
- '**/*.sh'
- 'tools/lint/shellcheck.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
clang-format:
extends: .base
@@ -156,9 +150,8 @@ clang-format:
- '**/*.m'
- '**/*.mm'
- 'tools/lint/clang-format.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
rustfmt:
extends: .base
@@ -172,9 +165,8 @@ rustfmt:
#
- '**/*.rs'
- 'tools/lint/rustfmt.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
fluent-lint:
extends: .base
@@ -189,9 +181,8 @@ fluent-lint:
- '**/*.ftl'
- 'tools/lint/fluent-lint.yml'
- 'tools/lint/fluent-lint/exclusions.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
localization:
extends: .base
@@ -208,9 +199,8 @@ localization:
- 'third_party/python/compare-locales/**'
- 'third_party/python/fluent/**'
- 'tools/lint/l10n.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mingw-capitalization:
extends: .base
@@ -227,9 +217,8 @@ mingw-capitalization:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mingw-capitalization.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mscom-init:
extends: .base
@@ -246,9 +235,8 @@ mscom-init:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mscom-init.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
file-whitespace:
extends: .base
@@ -277,9 +265,8 @@ file-whitespace:
- '**/*.webidl'
- '**/*.xhtml'
- 'tools/lint/file-whitespace.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
test-manifest:
extends: .base
@@ -294,9 +281,8 @@ test-manifest:
- '**/*.ini'
- 'python/mozlint/**'
- 'tools/lint/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
trojan-source:
extends: .base
@@ -315,6 +301,5 @@ trojan-source:
- '**/*.py'
- '**/*.rs'
- 'tools/lint/trojan-source.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d7c…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d7c…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.0esr-14.0-2 at The Tor Project / Applications / Tor Browser
Commits:
cce61ea8 by Beatriz Rizental at 2024-07-29T16:44:54+02:00
fixup! Add CI for Base Browser
- - - - -
1 changed file:
- .gitlab/ci/lint.yml
Changes:
=====================================
.gitlab/ci/lint.yml
=====================================
@@ -39,9 +39,8 @@ eslint:
# The plugin implementing custom checks.
- 'tools/lint/eslint/eslint-plugin-mozilla/**'
- 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
stylelint:
extends: .base
@@ -59,9 +58,8 @@ stylelint:
# Run when stylelint policies change.
- '**/.stylelintignore'
- '**/*stylelintrc*'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-black:
extends: .base
@@ -80,9 +78,8 @@ py-black:
- '**/*.mozbuild'
- 'pyproject.toml'
- 'tools/lint/black.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
py-ruff:
extends: .base
@@ -101,9 +98,8 @@ py-ruff:
- 'tools/lint/ruff.yml'
- 'tools/lint/python/ruff.py'
- 'tools/lint/python/ruff_requirements.txt'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
yaml:
extends: .base
@@ -118,9 +114,8 @@ yaml:
- '**/*.yml'
- '**/*.yaml'
- '**/.ymllint'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
shellcheck:
extends: .base
@@ -134,9 +129,8 @@ shellcheck:
#
- '**/*.sh'
- 'tools/lint/shellcheck.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
clang-format:
extends: .base
@@ -156,9 +150,8 @@ clang-format:
- '**/*.m'
- '**/*.mm'
- 'tools/lint/clang-format.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
rustfmt:
extends: .base
@@ -172,9 +165,8 @@ rustfmt:
#
- '**/*.rs'
- 'tools/lint/rustfmt.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
fluent-lint:
extends: .base
@@ -189,9 +181,8 @@ fluent-lint:
- '**/*.ftl'
- 'tools/lint/fluent-lint.yml'
- 'tools/lint/fluent-lint/exclusions.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
localization:
extends: .base
@@ -208,9 +199,8 @@ localization:
- 'third_party/python/compare-locales/**'
- 'third_party/python/fluent/**'
- 'tools/lint/l10n.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mingw-capitalization:
extends: .base
@@ -227,9 +217,8 @@ mingw-capitalization:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mingw-capitalization.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
mscom-init:
extends: .base
@@ -246,9 +235,8 @@ mscom-init:
- '**/*.c'
- '**/*.h'
- 'tools/lint/mscom-init.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
file-whitespace:
extends: .base
@@ -277,9 +265,8 @@ file-whitespace:
- '**/*.webidl'
- '**/*.xhtml'
- 'tools/lint/file-whitespace.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
test-manifest:
extends: .base
@@ -294,9 +281,8 @@ test-manifest:
- '**/*.ini'
- 'python/mozlint/**'
- 'tools/lint/**'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
trojan-source:
extends: .base
@@ -315,6 +301,5 @@ trojan-source:
- '**/*.py'
- '**/*.rs'
- 'tools/lint/trojan-source.yml'
- # Run job whenever a new tag is created
- # or whenever a commit is merged to a protected branch
- - if: $CI_COMMIT_TAG || $CI_COMMIT_REF_PROTECTED == 'true'
+ # Run job whenever a commit is merged to a protected branch
+ - if: $CI_COMMIT_REF_PROTECTED == 'true'
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/cce61ea…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/cce61ea…
You're receiving this email because of your account on gitlab.torproject.org.