richard pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
c3e505ef by Henry Wilkes at 2024-05-30T16:38:58+01:00
fixup! Bug 41600: Add a tor circuit display panel.
Bug 41859: Increase ip address font size to make them more legible on
windows OS.
- - - - -
1 changed file:
- browser/components/torcircuit/content/torCircuitPanel.css
Changes:
=====================================
browser/components/torcircuit/content/torCircuitPanel.css
=====================================
@@ -165,11 +165,16 @@
}
.tor-circuit-addresses {
- font-size: smaller;
+ font-size: 0.9em;
font-family: monospace;
margin-inline-start: 0.75em;
}
+.tor-circuit-ip-address {
+ /* Override the rule for <code>, which is -moz-fixed. */
+ font-family: inherit;
+}
+
/* Footer buttons */
.tor-circuit-button label {
margin: 0;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c3e505e…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c3e505e…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch mullvad-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
f34bff1e by Pier Angelo Vendrame at 2024-05-30T11:44:22+00:00
fixup! Bug 40175: Add origin attributes to about:reader top-level requests
Revert "Bug 40175: Add origin attributes to about:reader top-level requests"
This reverts commit 2718a926fd331a0df2ad8cc90c6c9633f3630243.
- - - - -
7684ec07 by Pier Angelo Vendrame at 2024-05-30T11:44:22+00:00
fixup! Bug 41116: Normalize system fonts.
Revert "fixup! Bug 41116: Normalize system fonts."
This reverts commit 2c1a8f5261873f3c2435b9de1f83c07d5933748e.
- - - - -
aff5ec0f by Pier Angelo Vendrame at 2024-05-30T11:44:22+00:00
fixup! Bug 41116: Normalize system fonts.
Revert "Bug 41116: Normalize system fonts."
This reverts commit df3f350e810ebe79c0823a124e6a555baf812f55.
- - - - -
6ebf41c3 by Pier Angelo Vendrame at 2024-05-30T11:44:23+00:00
Bug 1787790: Normalize system fonts with RFP on. r=emilio
System fonts can leak any user customization of system fonts, or user's
locale (e.g., en-US and ja Windows have different system fonts).
Also, Linux distributions/desktop environments set default fonts in
different ways.
Customization can be detected either with font metrics, the font allowed
list is not enabled or the font is included in it, or with
getComputedStyle, that leaks the name of the font that Firefox tries to
apply.
This patch try to prevent these leaks by using a generic "sans-serif"
for all system fonts, except on macOS, where it uses "-apple-system",
and on Android, where these fonts always use Roboto.
Differential Revision: https://phabricator.services.mozilla.com/D163576
- - - - -
1b026291 by cypherpunks1 at 2024-05-30T11:44:23+00:00
Bug 1892046 - Add origin attributes to about:reader requests. r=reader-mode-reviewers,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D207759
- - - - -
5 changed files:
- gfx/thebes/gfxPlatformFontList.cpp
- layout/base/nsLayoutUtils.cpp
- layout/reftests/font-matching/reftest.list
- + layout/reftests/font-matching/system-font-rfp-ref.html
- + layout/reftests/font-matching/system-font-rfp.html
Changes:
=====================================
gfx/thebes/gfxPlatformFontList.cpp
=====================================
@@ -1973,19 +1973,17 @@ static void GetSystemUIFontFamilies(const nsPresContext* aPresContext,
nsFont systemFont;
gfxFontStyle fontStyle;
nsAutoString systemFontName;
- if (aPresContext && aPresContext->Document()
- ? aPresContext->Document()->ShouldResistFingerprinting(
- RFPTarget::Unknown)
- : nsContentUtils::ShouldResistFingerprinting(
- "aPresContext not available", RFPTarget::Unknown)) {
-#ifdef XP_MACOSX
+ if (aPresContext ? aPresContext->Document()->ShouldResistFingerprinting(
+ RFPTarget::Unknown)
+ : nsContentUtils::ShouldResistFingerprinting(
+ "aPresContext not available", RFPTarget::Unknown)) {
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_UIKIT)
*aFamilies.AppendElement() = "-apple-system"_ns;
return;
#elif !defined(MOZ_WIDGET_ANDROID)
*aFamilies.AppendElement() = "sans-serif"_ns;
return;
#endif
- // Android uses already fixed fonts.
}
if (!LookAndFeel::GetFont(StyleSystemFont::Menu, systemFontName, fontStyle)) {
return;
=====================================
layout/base/nsLayoutUtils.cpp
=====================================
@@ -9680,7 +9680,7 @@ already_AddRefed<nsFontMetrics> nsLayoutUtils::GetMetricsFor(
static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
gfxFontStyle& aStyle, nsAString& aName) {
-#if defined(XP_MACOSX)
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_UIKIT)
aName = u"-apple-system"_ns;
// Values taken from a macOS 10.15 system.
switch (aFontID) {
@@ -9690,7 +9690,8 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
break;
case LookAndFeel::FontID::SmallCaption:
aStyle.weight = gfxFontStyle::FontWeight::BOLD;
- // fall-through
+ // fall-through for font-size
+ [[fallthrough]];
case LookAndFeel::FontID::MessageBox:
case LookAndFeel::FontID::StatusBar:
aStyle.size = 11;
@@ -9704,14 +9705,13 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
// languages, so we fallback to sans-serif to fall back to the user's
// default sans-serif. Size is 12px for all system fonts (tried in an en-US
// system).
- // Several Android systems reported Roboto 12px, so similar to what Windows
- // does.
aName = u"sans-serif"_ns;
aStyle.size = 12;
#elif defined(MOZ_WIDGET_ANDROID)
+ // Keep consistency with nsLookAndFeel::NativeGetFont.
aName = u"Roboto"_ns;
aStyle.size = 12;
-#else
+#elif defined(MOZ_WIDGET_GTK)
// On Linux, there is not a default. For example, GNOME on Debian uses
// Cantarell, 14.667px. Ubuntu Mate uses the Ubuntu font, but also 14.667px.
// Fedora with KDE uses Noto Sans, 13.3333px, but it uses Noto Sans on
@@ -9721,6 +9721,8 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
// UI font-size.
aName = u"sans-serif"_ns;
aStyle.size = 15;
+#else
+# error "Unknown platform"
#endif
}
=====================================
layout/reftests/font-matching/reftest.list
=====================================
@@ -195,3 +195,6 @@ pref(ui.font.menu,"serif") test-pref(ui.font.menu.weight,"800") != system-font-p
# Reset default prefs.
defaults
+
+# Bug 1787790 - Normalize system fonts when using RFP
+test-pref(privacy.resistFingerprinting,true) == system-font-rfp.html system-font-rfp-ref.html
=====================================
layout/reftests/font-matching/system-font-rfp-ref.html
=====================================
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<style>
+body {
+ font-family: -apple-system, sans-serif;
+ font-size: 12px;
+}
+
+.android {
+ font-family: Roboto;
+}
+
+.linux {
+ font-size: 15px;
+}
+
+.mac {
+ .caption, .menu {
+ font-size: 13px;
+ }
+ .message-box, .status-bar {
+ font-size: 11px;
+ }
+ .small-caption {
+ font-size: 11px;
+ font-weight: 700;
+ }
+}
+</style>
+<div class="caption">Caption</div>
+<div class="icon">Icon</div>
+<div class="menu">Menu</div>
+<div class="message-box">Message box</div>
+<div class="small-caption">Small caption</div>
+<div class="status-bar">Status bar</div>
+<script>
+if (navigator.platform.startsWith("Mac")) {
+ document.querySelector("body").className = "mac";
+} else if (navigator.userAgent.includes("Android")) {
+ document.querySelector("body").className = "android";
+} else if (navigator.platform.startsWith("Linux")) {
+ document.querySelector("body").className = "linux";
+}
+</script>
=====================================
layout/reftests/font-matching/system-font-rfp.html
=====================================
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<div style="font: caption">Caption</div>
+<div style="font: icon">Icon</div>
+<div style="font: menu">Menu</div>
+<div style="font: message-box">Message box</div>
+<div style="font: small-caption">Small caption</div>
+<div style="font: status-bar">Status bar</div>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/2c…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/2c…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch base-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
62fcc276 by Pier Angelo Vendrame at 2024-05-30T11:43:20+00:00
fixup! Bug 40175: Add origin attributes to about:reader top-level requests
Revert "Bug 40175: Add origin attributes to about:reader top-level requests"
This reverts commit 2718a926fd331a0df2ad8cc90c6c9633f3630243.
- - - - -
2058592a by Pier Angelo Vendrame at 2024-05-30T11:43:21+00:00
fixup! Bug 41116: Normalize system fonts.
Revert "fixup! Bug 41116: Normalize system fonts."
This reverts commit 2c1a8f5261873f3c2435b9de1f83c07d5933748e.
- - - - -
d7d0c5a8 by Pier Angelo Vendrame at 2024-05-30T11:43:21+00:00
fixup! Bug 41116: Normalize system fonts.
Revert "Bug 41116: Normalize system fonts."
This reverts commit df3f350e810ebe79c0823a124e6a555baf812f55.
- - - - -
f6b799f0 by Pier Angelo Vendrame at 2024-05-30T11:43:21+00:00
Bug 1787790: Normalize system fonts with RFP on. r=emilio
System fonts can leak any user customization of system fonts, or user's
locale (e.g., en-US and ja Windows have different system fonts).
Also, Linux distributions/desktop environments set default fonts in
different ways.
Customization can be detected either with font metrics, the font allowed
list is not enabled or the font is included in it, or with
getComputedStyle, that leaks the name of the font that Firefox tries to
apply.
This patch try to prevent these leaks by using a generic "sans-serif"
for all system fonts, except on macOS, where it uses "-apple-system",
and on Android, where these fonts always use Roboto.
Differential Revision: https://phabricator.services.mozilla.com/D163576
- - - - -
5658183f by cypherpunks1 at 2024-05-30T11:43:22+00:00
Bug 1892046 - Add origin attributes to about:reader requests. r=reader-mode-reviewers,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D207759
- - - - -
5 changed files:
- gfx/thebes/gfxPlatformFontList.cpp
- layout/base/nsLayoutUtils.cpp
- layout/reftests/font-matching/reftest.list
- + layout/reftests/font-matching/system-font-rfp-ref.html
- + layout/reftests/font-matching/system-font-rfp.html
Changes:
=====================================
gfx/thebes/gfxPlatformFontList.cpp
=====================================
@@ -1973,19 +1973,17 @@ static void GetSystemUIFontFamilies(const nsPresContext* aPresContext,
nsFont systemFont;
gfxFontStyle fontStyle;
nsAutoString systemFontName;
- if (aPresContext && aPresContext->Document()
- ? aPresContext->Document()->ShouldResistFingerprinting(
- RFPTarget::Unknown)
- : nsContentUtils::ShouldResistFingerprinting(
- "aPresContext not available", RFPTarget::Unknown)) {
-#ifdef XP_MACOSX
+ if (aPresContext ? aPresContext->Document()->ShouldResistFingerprinting(
+ RFPTarget::Unknown)
+ : nsContentUtils::ShouldResistFingerprinting(
+ "aPresContext not available", RFPTarget::Unknown)) {
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_UIKIT)
*aFamilies.AppendElement() = "-apple-system"_ns;
return;
#elif !defined(MOZ_WIDGET_ANDROID)
*aFamilies.AppendElement() = "sans-serif"_ns;
return;
#endif
- // Android uses already fixed fonts.
}
if (!LookAndFeel::GetFont(StyleSystemFont::Menu, systemFontName, fontStyle)) {
return;
=====================================
layout/base/nsLayoutUtils.cpp
=====================================
@@ -9680,7 +9680,7 @@ already_AddRefed<nsFontMetrics> nsLayoutUtils::GetMetricsFor(
static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
gfxFontStyle& aStyle, nsAString& aName) {
-#if defined(XP_MACOSX)
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_UIKIT)
aName = u"-apple-system"_ns;
// Values taken from a macOS 10.15 system.
switch (aFontID) {
@@ -9690,7 +9690,8 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
break;
case LookAndFeel::FontID::SmallCaption:
aStyle.weight = gfxFontStyle::FontWeight::BOLD;
- // fall-through
+ // fall-through for font-size
+ [[fallthrough]];
case LookAndFeel::FontID::MessageBox:
case LookAndFeel::FontID::StatusBar:
aStyle.size = 11;
@@ -9704,14 +9705,13 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
// languages, so we fallback to sans-serif to fall back to the user's
// default sans-serif. Size is 12px for all system fonts (tried in an en-US
// system).
- // Several Android systems reported Roboto 12px, so similar to what Windows
- // does.
aName = u"sans-serif"_ns;
aStyle.size = 12;
#elif defined(MOZ_WIDGET_ANDROID)
+ // Keep consistency with nsLookAndFeel::NativeGetFont.
aName = u"Roboto"_ns;
aStyle.size = 12;
-#else
+#elif defined(MOZ_WIDGET_GTK)
// On Linux, there is not a default. For example, GNOME on Debian uses
// Cantarell, 14.667px. Ubuntu Mate uses the Ubuntu font, but also 14.667px.
// Fedora with KDE uses Noto Sans, 13.3333px, but it uses Noto Sans on
@@ -9721,6 +9721,8 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
// UI font-size.
aName = u"sans-serif"_ns;
aStyle.size = 15;
+#else
+# error "Unknown platform"
#endif
}
=====================================
layout/reftests/font-matching/reftest.list
=====================================
@@ -195,3 +195,6 @@ pref(ui.font.menu,"serif") test-pref(ui.font.menu.weight,"800") != system-font-p
# Reset default prefs.
defaults
+
+# Bug 1787790 - Normalize system fonts when using RFP
+test-pref(privacy.resistFingerprinting,true) == system-font-rfp.html system-font-rfp-ref.html
=====================================
layout/reftests/font-matching/system-font-rfp-ref.html
=====================================
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<style>
+body {
+ font-family: -apple-system, sans-serif;
+ font-size: 12px;
+}
+
+.android {
+ font-family: Roboto;
+}
+
+.linux {
+ font-size: 15px;
+}
+
+.mac {
+ .caption, .menu {
+ font-size: 13px;
+ }
+ .message-box, .status-bar {
+ font-size: 11px;
+ }
+ .small-caption {
+ font-size: 11px;
+ font-weight: 700;
+ }
+}
+</style>
+<div class="caption">Caption</div>
+<div class="icon">Icon</div>
+<div class="menu">Menu</div>
+<div class="message-box">Message box</div>
+<div class="small-caption">Small caption</div>
+<div class="status-bar">Status bar</div>
+<script>
+if (navigator.platform.startsWith("Mac")) {
+ document.querySelector("body").className = "mac";
+} else if (navigator.userAgent.includes("Android")) {
+ document.querySelector("body").className = "android";
+} else if (navigator.platform.startsWith("Linux")) {
+ document.querySelector("body").className = "linux";
+}
+</script>
=====================================
layout/reftests/font-matching/system-font-rfp.html
=====================================
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<div style="font: caption">Caption</div>
+<div style="font: icon">Icon</div>
+<div style="font: menu">Menu</div>
+<div style="font: message-box">Message box</div>
+<div style="font: small-caption">Small caption</div>
+<div style="font: status-bar">Status bar</div>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/d4e035…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/d4e035…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
b4fbb624 by Pier Angelo Vendrame at 2024-05-30T08:49:54+02:00
fixup! Bug 40175: Add origin attributes to about:reader top-level requests
Revert "Bug 40175: Add origin attributes to about:reader top-level requests"
This reverts commit 2718a926fd331a0df2ad8cc90c6c9633f3630243.
- - - - -
73f0f817 by Pier Angelo Vendrame at 2024-05-30T08:50:18+02:00
fixup! Bug 41116: Normalize system fonts.
Revert "fixup! Bug 41116: Normalize system fonts."
This reverts commit 2c1a8f5261873f3c2435b9de1f83c07d5933748e.
- - - - -
3841a1fd by Pier Angelo Vendrame at 2024-05-30T08:50:37+02:00
fixup! Bug 41116: Normalize system fonts.
Revert "Bug 41116: Normalize system fonts."
This reverts commit df3f350e810ebe79c0823a124e6a555baf812f55.
- - - - -
09bd48db by Pier Angelo Vendrame at 2024-05-30T08:56:02+02:00
Bug 1787790: Normalize system fonts with RFP on. r=emilio
System fonts can leak any user customization of system fonts, or user's
locale (e.g., en-US and ja Windows have different system fonts).
Also, Linux distributions/desktop environments set default fonts in
different ways.
Customization can be detected either with font metrics, the font allowed
list is not enabled or the font is included in it, or with
getComputedStyle, that leaks the name of the font that Firefox tries to
apply.
This patch try to prevent these leaks by using a generic "sans-serif"
for all system fonts, except on macOS, where it uses "-apple-system",
and on Android, where these fonts always use Roboto.
Differential Revision: https://phabricator.services.mozilla.com/D163576
- - - - -
fa069b8b by cypherpunks1 at 2024-05-30T08:56:03+02:00
Bug 1892046 - Add origin attributes to about:reader requests. r=reader-mode-reviewers,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D207759
- - - - -
5 changed files:
- gfx/thebes/gfxPlatformFontList.cpp
- layout/base/nsLayoutUtils.cpp
- layout/reftests/font-matching/reftest.list
- + layout/reftests/font-matching/system-font-rfp-ref.html
- + layout/reftests/font-matching/system-font-rfp.html
Changes:
=====================================
gfx/thebes/gfxPlatformFontList.cpp
=====================================
@@ -1973,19 +1973,17 @@ static void GetSystemUIFontFamilies(const nsPresContext* aPresContext,
nsFont systemFont;
gfxFontStyle fontStyle;
nsAutoString systemFontName;
- if (aPresContext && aPresContext->Document()
- ? aPresContext->Document()->ShouldResistFingerprinting(
- RFPTarget::Unknown)
- : nsContentUtils::ShouldResistFingerprinting(
- "aPresContext not available", RFPTarget::Unknown)) {
-#ifdef XP_MACOSX
+ if (aPresContext ? aPresContext->Document()->ShouldResistFingerprinting(
+ RFPTarget::Unknown)
+ : nsContentUtils::ShouldResistFingerprinting(
+ "aPresContext not available", RFPTarget::Unknown)) {
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_UIKIT)
*aFamilies.AppendElement() = "-apple-system"_ns;
return;
#elif !defined(MOZ_WIDGET_ANDROID)
*aFamilies.AppendElement() = "sans-serif"_ns;
return;
#endif
- // Android uses already fixed fonts.
}
if (!LookAndFeel::GetFont(StyleSystemFont::Menu, systemFontName, fontStyle)) {
return;
=====================================
layout/base/nsLayoutUtils.cpp
=====================================
@@ -9680,7 +9680,7 @@ already_AddRefed<nsFontMetrics> nsLayoutUtils::GetMetricsFor(
static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
gfxFontStyle& aStyle, nsAString& aName) {
-#if defined(XP_MACOSX)
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_UIKIT)
aName = u"-apple-system"_ns;
// Values taken from a macOS 10.15 system.
switch (aFontID) {
@@ -9690,7 +9690,8 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
break;
case LookAndFeel::FontID::SmallCaption:
aStyle.weight = gfxFontStyle::FontWeight::BOLD;
- // fall-through
+ // fall-through for font-size
+ [[fallthrough]];
case LookAndFeel::FontID::MessageBox:
case LookAndFeel::FontID::StatusBar:
aStyle.size = 11;
@@ -9704,14 +9705,13 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
// languages, so we fallback to sans-serif to fall back to the user's
// default sans-serif. Size is 12px for all system fonts (tried in an en-US
// system).
- // Several Android systems reported Roboto 12px, so similar to what Windows
- // does.
aName = u"sans-serif"_ns;
aStyle.size = 12;
#elif defined(MOZ_WIDGET_ANDROID)
+ // Keep consistency with nsLookAndFeel::NativeGetFont.
aName = u"Roboto"_ns;
aStyle.size = 12;
-#else
+#elif defined(MOZ_WIDGET_GTK)
// On Linux, there is not a default. For example, GNOME on Debian uses
// Cantarell, 14.667px. Ubuntu Mate uses the Ubuntu font, but also 14.667px.
// Fedora with KDE uses Noto Sans, 13.3333px, but it uses Noto Sans on
@@ -9721,6 +9721,8 @@ static void GetSpoofedSystemFontForRFP(LookAndFeel::FontID aFontID,
// UI font-size.
aName = u"sans-serif"_ns;
aStyle.size = 15;
+#else
+# error "Unknown platform"
#endif
}
=====================================
layout/reftests/font-matching/reftest.list
=====================================
@@ -195,3 +195,6 @@ pref(ui.font.menu,"serif") test-pref(ui.font.menu.weight,"800") != system-font-p
# Reset default prefs.
defaults
+
+# Bug 1787790 - Normalize system fonts when using RFP
+test-pref(privacy.resistFingerprinting,true) == system-font-rfp.html system-font-rfp-ref.html
=====================================
layout/reftests/font-matching/system-font-rfp-ref.html
=====================================
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<style>
+body {
+ font-family: -apple-system, sans-serif;
+ font-size: 12px;
+}
+
+.android {
+ font-family: Roboto;
+}
+
+.linux {
+ font-size: 15px;
+}
+
+.mac {
+ .caption, .menu {
+ font-size: 13px;
+ }
+ .message-box, .status-bar {
+ font-size: 11px;
+ }
+ .small-caption {
+ font-size: 11px;
+ font-weight: 700;
+ }
+}
+</style>
+<div class="caption">Caption</div>
+<div class="icon">Icon</div>
+<div class="menu">Menu</div>
+<div class="message-box">Message box</div>
+<div class="small-caption">Small caption</div>
+<div class="status-bar">Status bar</div>
+<script>
+if (navigator.platform.startsWith("Mac")) {
+ document.querySelector("body").className = "mac";
+} else if (navigator.userAgent.includes("Android")) {
+ document.querySelector("body").className = "android";
+} else if (navigator.platform.startsWith("Linux")) {
+ document.querySelector("body").className = "linux";
+}
+</script>
=====================================
layout/reftests/font-matching/system-font-rfp.html
=====================================
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<div style="font: caption">Caption</div>
+<div style="font: icon">Icon</div>
+<div style="font: menu">Menu</div>
+<div style="font: message-box">Message box</div>
+<div style="font: small-caption">Small caption</div>
+<div style="font: status-bar">Status bar</div>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/46c671…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/46c671…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
77793754 by Pier Angelo Vendrame at 2024-05-29T20:31:38+02:00
fixup! Bug 40933: Add tor-launcher functionality
Bug 42604: Log the circuit nodes when we see the CIRC BUILT event
(with debug level).
- - - - -
46c67143 by Pier Angelo Vendrame at 2024-05-29T20:31:43+02:00
fixup! Bug 3455: Add DomainIsolator, for isolating circuit by domain.
Bug 42604: Log a message when we update the data about a certain
circuit.
- - - - -
2 changed files:
- toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
- toolkit/components/tor-launcher/TorProvider.sys.mjs
Changes:
=====================================
toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
=====================================
@@ -588,6 +588,7 @@ class TorDomainIsolatorImpl {
data = await Promise.all(
circuit.map(fingerprint => provider.getNodeInfo(fingerprint))
);
+ logger.debug(`Updating circuit ${id}`, data);
this.#knownCircuits.set(id, data);
// We know that something changed, but we cannot know if anyone is
// interested in this change. So, we have to notify all the possible
=====================================
toolkit/components/tor-launcher/TorProvider.sys.mjs
=====================================
@@ -1035,6 +1035,7 @@ export class TorProvider {
*/
async onCircuitBuilt(id, nodes) {
this.#circuits.set(id, nodes);
+ logger.debug(`Built tor circuit ${id}`, nodes);
// Ignore circuits of length 1, that are used, for example, to probe
// bridges. So, only store them, since we might see streams that use them,
// but then early-return.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5826b2…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5826b2…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
87212fc3 by Pier Angelo Vendrame at 2024-05-29T18:46:39+02:00
Bug 41151: Explicitly initialize the plugin directory on the Windows installer.
Otherwise, the Windows installer might show an error when opening.
- - - - -
1 changed file:
- projects/browser/windows-installer/browser-install.nsi
Changes:
=====================================
projects/browser/windows-installer/browser-install.nsi
=====================================
@@ -64,6 +64,7 @@ Function .onInit
; Skip NSIS's language selection prompt and try to use the OS language without
; further confirmations.
+ InitPluginsDir
File /oname=$PLUGINSDIR\${WELCOME_IMAGE} "${WELCOME_IMAGE}"
ReadRegStr $existingInstall HKCU "${UNINST_KEY}" "InstallLocation"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch mullvad-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
2cfc1d0d by Henry Wilkes at 2024-05-29T10:27:26+00:00
Bug 1858056 - Favor RawConfigParser.read_file instead of deprecated readfp r=saschanaz
readfp is deprecated since Python 3.2
Differential Revision: https://phabricator.services.mozilla.com/D190532
- - - - -
2 changed files:
- python/mach/mach/config.py
- testing/web-platform/unittestrunner.py
Changes:
=====================================
python/mach/mach/config.py
=====================================
@@ -309,7 +309,7 @@ class ConfigSettings(collections.abc.Mapping):
"""Load config data by reading file objects."""
for fp in fps:
- self._config.readfp(fp)
+ self._config.read_file(fp)
def write(self, fh):
"""Write the config to a file object."""
=====================================
testing/web-platform/unittestrunner.py
=====================================
@@ -49,7 +49,7 @@ class ReplaceRequirements(object):
parser = configparser.ConfigParser()
path = os.path.join(self.tox_path, "tox.ini")
with open(path) as f:
- parser.readfp(f)
+ parser.read_file(f)
deps = parser.get("testenv", "deps")
dep_re = re.compile("(?:.*:\s*)?-r(.*)")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2cf…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2cf…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch base-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
d4e0350b by Henry Wilkes at 2024-05-29T10:20:41+00:00
Bug 1858056 - Favor RawConfigParser.read_file instead of deprecated readfp r=saschanaz
readfp is deprecated since Python 3.2
Differential Revision: https://phabricator.services.mozilla.com/D190532
- - - - -
2 changed files:
- python/mach/mach/config.py
- testing/web-platform/unittestrunner.py
Changes:
=====================================
python/mach/mach/config.py
=====================================
@@ -309,7 +309,7 @@ class ConfigSettings(collections.abc.Mapping):
"""Load config data by reading file objects."""
for fp in fps:
- self._config.readfp(fp)
+ self._config.read_file(fp)
def write(self, fh):
"""Write the config to a file object."""
=====================================
testing/web-platform/unittestrunner.py
=====================================
@@ -49,7 +49,7 @@ class ReplaceRequirements(object):
parser = configparser.ConfigParser()
path = os.path.join(self.tox_path, "tox.ini")
with open(path) as f:
- parser.readfp(f)
+ parser.read_file(f)
deps = parser.get("testenv", "deps")
dep_re = re.compile("(?:.*:\s*)?-r(.*)")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d4e0350…
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d4e0350…
You're receiving this email because of your account on gitlab.torproject.org.