lists.torproject.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

tbb-commits

Thread Start a new thread
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2015 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2014 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
tbb-commits@lists.torproject.org

  • 1 participants
  • 21411 discussions
[Git][tpo/applications/tor-browser][tor-browser-156.0a1-17.0-2] fixup! TB 44806: Implement the tor integration in Rust.
by Pier Angelo Vendrame (@pierov) 17 Nov '26

17 Nov '26
Pier Angelo Vendrame pushed to branch tor-browser-156.0a1-17.0-2 at The Tor Project / Applications / Tor Browser Commits: 2da1bad7 by Elena at 2026-11-17T10:56:27+01:00 fixup! TB 44806: Implement the tor integration in Rust. TB 44930: Implement the commands on the Rust control port Implementing async notification parsing. - - - - - 3 changed files: - toolkit/components/tor-integration/tor_provider/src/ctor/controller/controller.rs - toolkit/components/tor-integration/tor_provider/src/ctor/controller/mod.rs - + toolkit/components/tor-integration/tor_provider/src/ctor/controller/notification.rs Changes: ===================================== toolkit/components/tor-integration/tor_provider/src/ctor/controller/controller.rs ===================================== @@ -4,12 +4,13 @@ // copied, modified, or distributed except according to those terms. use bytes::Bytes; -use std::net::IpAddr; +use std::{net::IpAddr, rc::Rc}; use tinystr::TinyAsciiStr; use super::{ commands::{self, Command}, error::ControllerError, + notification::{AsyncNotification, NotificationListener}, types::*, }; use crate::ctor::{ @@ -72,6 +73,21 @@ impl<CP: ControlPortInterface> TorController<CP> { ); } + pub fn set_notification_listener(&self, listener: Option<Rc<dyn NotificationListener>>) { + self.0.set_async_handler(listener.as_ref().map(|l| { + let l = l.clone(); + Box::new(move |notification| { + if let Some(notification) = AsyncNotification::parse(notification) { + notification.dispatch(l.as_ref()); + } + }) as Box<dyn Fn(Reply)> + })); + } + + pub fn set_close_handler(&self, cb: Box<dyn FnOnce()>) { + self.0.set_close_handler(cb); + } + // Setup /// Authenticate to the tor daemon. @@ -216,9 +232,4 @@ impl<CP: ControlPortInterface> TorController<CP> { pub fn set_async_handler(&self, cb: Option<Box<dyn Fn(Reply)>>) { self.0.set_async_handler(cb); } - - #[inline] - pub fn set_close_handler(&self, cb: Box<dyn FnOnce()>) { - self.0.set_close_handler(cb); - } } ===================================== toolkit/components/tor-integration/tor_provider/src/ctor/controller/mod.rs ===================================== @@ -6,9 +6,11 @@ mod commands; mod controller; mod error; +mod notification; mod parsers; mod types; pub use controller::*; pub use error::*; +pub use notification::NotificationListener; pub use types::*; ===================================== toolkit/components/tor-integration/tor_provider/src/ctor/controller/notification.rs ===================================== @@ -0,0 +1,490 @@ +// Licensed under the Apache License, Version 2.0, +// <http://apache.org/licenses/LICENSE-2.0> or the MIT license +// <http://opensource.org/licenses/MIT>, at your option. This file may not be +// copied, modified, or distributed except according to those terms. + +use bytes::{Bytes, BytesMut}; + +use super::{ + parsers::{parse_bootstrap_status, parse_circuit_built, parse_stream_sentconnect}, + types::{BootstrapStatus, Circuit, CircuitID, Stream}, +}; +use crate::ctor::reply_parser::{DetailReplyLine, Reply}; + +pub trait NotificationListener { + fn log_message(&self, severity: String, message: Bytes); + fn bootstrap_status(&self, status: BootstrapStatus); + fn circuit_built(&self, circuit: Circuit); + fn circuit_closed(&self, id: CircuitID); + fn stream_sent_connect(&self, stream: Stream); +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum AsyncNotification { + LogMessage { severity: String, message: Bytes }, + BootstrapStatus(BootstrapStatus), + CircuitBuilt(Circuit), + CircuitClosed(CircuitID), + StreamSentConnect(Stream), +} + +impl AsyncNotification { + /// Try to parse a reply as an async notification. + /// Async notifications do not have an error handler, so any parsing error + /// will cause the reply to be just dropped silently. + pub fn parse(reply: Reply) -> Option<Self> { + if !reply.is_async() { + return None; + } + let first_line = match reply.details().first() { + Some(DetailReplyLine::MidReplyLine { line, .. }) => line, + Some(DetailReplyLine::DataReplyLine { lines, .. }) => { + if lines.is_empty() { + debug_assert!(false, "DataReplyLine must always have at least one line."); + return None; + } + &lines[0] + } + None => &reply.end_line().line, + }; + let (keyword, data) = get_type(first_line)?; + match keyword.as_str() { + "STATUS_CLIENT" => Self::parse_bootstrap_status(data), + "CIRC" => Self::parse_circuit_event(data), + "STREAM" => Self::parse_stream_event(data), + "DEBUG" | "INFO" | "NOTICE" | "WARN" | "ERR" => Self::parse_log_message(keyword, reply), + _ => { + let mut buf = Vec::new(); + let _ = reply.write_to(&mut buf); + log::debug!("Unknown notification: {}", String::from_utf8_lossy(&buf)); + None + } + } + } + + /// Try to parse a `STATUS_CLIENT ... BOOTSTRAP` event. + /// We will silently drop any other kind of STATUS_CLIENT event. + fn parse_bootstrap_status(data: &[u8]) -> Option<Self> { + parse_bootstrap_status(data) + .map(|status| AsyncNotification::BootstrapStatus(status)) + .ok() + } + + /// Try to parse CIRC BUILT/CLOSED events. + fn parse_circuit_event(data: &[u8]) -> Option<Self> { + let (status, id) = circuit_stream_status(data)?; + match status.as_str() { + "BUILT" => parse_circuit_built(data) + .ok() + .and_then(|c| c) + .map(AsyncNotification::CircuitBuilt), + "CLOSED" => Some(AsyncNotification::CircuitClosed(id)), + _ => None, + } + } + + /// Try to parse a STREAM SENTCONNECT event. + fn parse_stream_event(data: &[u8]) -> Option<Self> { + let (status, _) = circuit_stream_status(data)?; + match status.as_str() { + "SENTCONNECT" => parse_stream_sentconnect(data) + .ok() + .and_then(|stream| stream.map(|s| AsyncNotification::StreamSentConnect(s))), + _ => None, + } + } + + /// Try to parse a log message. + fn parse_log_message(severity: String, reply: Reply) -> Option<Self> { + match reply.details().first() { + Some(DetailReplyLine::DataReplyLine { lines, .. }) => { + if lines.len() == 1 { + None + } else { + // No need to join the last line, as it is supposed to be a + // `650 OK`. + Some(AsyncNotification::LogMessage { + severity, + message: join_lines(&lines[1..]), + }) + } + } + None if !reply.has_details() => { + if reply.end_line().line.len() <= (severity.len() + 1) { + None + } else { + let message = reply.end_line().line.slice(severity.len() + 1..); + Some(AsyncNotification::LogMessage { severity, message }) + } + } + _ => { + // The logs use data lines, as per the specs. + None + } + } + } + + /// Consume self by sending it to a NotificationListener. + pub fn dispatch(self, listener: &dyn NotificationListener) { + match self { + AsyncNotification::LogMessage { severity, message } => { + listener.log_message(severity, message) + } + AsyncNotification::BootstrapStatus(status) => listener.bootstrap_status(status), + AsyncNotification::CircuitBuilt(circuit) => listener.circuit_built(circuit), + AsyncNotification::CircuitClosed(id) => listener.circuit_closed(id), + AsyncNotification::StreamSentConnect(stream) => listener.stream_sent_connect(stream), + } + } +} + +/// Split a reply line into keyword and data. +fn get_type<'a>(data: &'a [u8]) -> Option<(String, &'a [u8])> { + if data.is_empty() { + return None; + } + let mut parts = data.splitn(2, |b| *b == b' '); + let keyword = make_keyword(parts.next())?; + let data = parts.next().unwrap_or(&[]); + Some((keyword, data)) +} + +/// Validate a CIRC/STREAM event. +/// We handle them together as they have the same structure: +/// `<id> <event-type> ...` (with compatible formats). +/// +/// Notice that we have both a CircuitID and a StreamID type, but for stream we +/// drop the ID, so as a matter of fact we only use the CircuitID variant. +/// Therefore, we thought it was not worth to make this a generic function. +fn circuit_stream_status(data: &[u8]) -> Option<(String, CircuitID)> { + let mut parts = data.split(|b| *b == b' '); + let id = parts.next().and_then(|t| CircuitID::new(t)); + make_keyword(parts.next()).zip(id) +} + +/// Make a keyword (uppercase string). +/// We use only ASCII keywords for now, but this function accepts anything as +/// long as it is valid UTF-8 (including ASCII). +/// +/// Notice that we need to return an owned string as we are doing the case +/// conversion. +fn make_keyword(keyword: Option<&[u8]>) -> Option<String> { + // Our keywords are ASCII, so ignore this error silently, we are not + // interested in those anyway... + keyword.and_then(|kw| String::from_utf8(kw.to_ascii_uppercase()).ok()) +} + +/// Join log message lines. +fn join_lines(lines: &[Bytes]) -> Bytes { + let mut result = BytesMut::new(); + for (i, line) in lines.iter().enumerate() { + result.extend_from_slice(line); + if i < lines.len() - 1 { + result.extend_from_slice(b"\r\n"); + } + } + result.freeze() +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::ctor::reply_parser::make_reply; + + #[test] + fn test_make_keyword() { + assert_eq!(make_keyword(Some(&b"TEST"[..])).unwrap(), "TEST"); + assert_eq!(make_keyword(Some(&b"test"[..])).unwrap(), "TEST"); + assert_eq!(make_keyword(Some(&b"TesT"[..])).unwrap(), "TEST"); + assert_eq!(make_keyword(Some(&b"Te_sT"[..])).unwrap(), "TE_ST"); + + assert!(make_keyword(None).is_none()); + + let invalid_utf8 = [0xFF, 0xFE]; + assert!(make_keyword(Some(&invalid_utf8)).is_none()); + } + + #[test] + fn test_get_type() { + { + let (keyword, data) = get_type(b"STATUS_CLIENT BOOTSTRAP PROGRESS=50").unwrap(); + assert_eq!(keyword, "STATUS_CLIENT"); + assert_eq!(data, b"BOOTSTRAP PROGRESS=50"); + } + { + let (keyword, data) = get_type(b"CIRC").unwrap(); + assert_eq!(keyword, "CIRC"); + assert_eq!(data, &b""[..]); + } + { + let (keyword, _) = get_type(b"debug message").unwrap(); + assert_eq!(keyword, "DEBUG"); + } + { + let (keyword, _) = get_type(b"StAtUs_ClIeNt data").unwrap(); + assert_eq!(keyword, "STATUS_CLIENT"); + } + { + let (keyword, data) = get_type(b"CIRC id BUILT").unwrap(); + assert_eq!(keyword, "CIRC"); + assert_eq!(data, b" id BUILT"); // Splits on first space only + } + assert!(get_type(b"").is_none()); + } + + #[test] + fn test_circuit_stream_status() { + { + let (status, id) = circuit_stream_status(b"123 BUILT").unwrap(); + assert_eq!(status, "BUILT"); + assert_eq!(id, CircuitID::new(b"123").unwrap()); + } + { + let (status, id) = circuit_stream_status(b"456 CLOSED").unwrap(); + assert_eq!(status, "CLOSED"); + assert_eq!(id, CircuitID::new(b"456").unwrap()); + } + { + let (status, _) = circuit_stream_status(b"1 built").unwrap(); + assert_eq!(status, "BUILT"); + } + { + let (status, _) = circuit_stream_status(b"1 bUIlt").unwrap(); + assert_eq!(status, "BUILT"); + } + + // Missing ID + assert!(circuit_stream_status(b"BUILT").is_none()); + // Missing status + assert!(circuit_stream_status(b"123").is_none()); + // Invalid ID + assert!(circuit_stream_status(b"ab+c BUILT").is_none()); + // Empty + assert!(circuit_stream_status(b"").is_none()); + } + + #[test] + fn test_join_lines() { + { + let lines = vec![Bytes::from_static(b"single line")]; + let result = join_lines(&lines); + assert_eq!(result, "single line"); + } + { + let lines = vec![ + Bytes::from_static(b"aaaaaaaaaaa 1234"), + Bytes::from_static(b"b b"), + Bytes::from_static(b"cccc cc"), + ]; + let result = join_lines(&lines); + assert_eq!(result, "aaaaaaaaaaa 1234\r\nb b\r\ncccc cc"); + } + { + let lines: Vec<Bytes> = vec![]; + let result = join_lines(&lines); + assert_eq!(result, ""); + } + { + let lines = vec![ + Bytes::from_static(b"second line is"), + Bytes::from_static(b""), + Bytes::from_static(b"empty"), + ]; + let result = join_lines(&lines); + assert_eq!(result, "second line is\r\n\r\nempty"); + } + } + + #[test] + fn debug_log() { + { + let reply = make_reply(b"650 DEBUG Some debug message\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::LogMessage { severity, message } => { + assert_eq!(severity, "DEBUG"); + assert_eq!(message, "Some debug message"); + } + _ => unreachable!("Expected LogMessage"), + } + } + { + let reply = make_reply(b"650+DEBUG\r\nSome debug message\r\n.\r\n650 OK\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::LogMessage { severity, message } => { + assert_eq!(severity, "DEBUG"); + assert_eq!(message, "Some debug message"); + } + _ => unreachable!("Expected LogMessage"), + } + } + { + let reply = make_reply(b"650-DEBUG Some debug message\r\n650 OK\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + } + + #[test] + fn info_log() { + let reply = make_reply(b"650 INFO Connection established\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::LogMessage { severity, message } => { + assert_eq!(severity, "INFO"); + assert_eq!(message, "Connection established"); + } + _ => unreachable!("Expected LogMessage"), + } + } + + #[test] + fn warn_log() { + let reply = make_reply(b"650 WARN Something suspicious happened\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::LogMessage { severity, message } => { + assert_eq!(severity, "WARN"); + assert_eq!(message, "Something suspicious happened"); + } + _ => unreachable!("Expected LogMessage"), + } + } + + #[test] + fn err_log() { + let reply = make_reply(b"650 ERR Critical error occurred\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::LogMessage { severity, message } => { + assert_eq!(severity, "ERR"); + assert_eq!(message, "Critical error occurred") + } + _ => unreachable!("Expected LogMessage"), + } + } + + #[test] + fn notice_log() { + let reply = make_reply(b"650 NOTICE Important notice\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::LogMessage { severity, message } => { + assert_eq!(severity, "NOTICE"); + assert_eq!(message, "Important notice"); + } + _ => unreachable!("Expected LogMessage"), + } + } + + #[test] + fn empty_log() { + assert!(AsyncNotification::parse(make_reply(b"650 NOTICE\r\n")).is_none()); + assert!(AsyncNotification::parse(make_reply(b"650 NOTICE \r\n")).is_none()); + // At the moment, we do not trim spaces. + assert!(AsyncNotification::parse(make_reply(b"650 NOTICE \r\n")).is_some()); + assert!(AsyncNotification::parse(make_reply(b"650+NOTICE\r\n.\r\n650 OK\r\n")).is_none()); + assert_eq!( + AsyncNotification::parse(make_reply(b"650+NOTICE\r\n\r\n.\r\n650 OK\r\n")).unwrap(), + AsyncNotification::LogMessage { + severity: String::from("NOTICE"), + message: Bytes::new(), + } + ); + } + + #[test] + fn bootstrap_status() { + let reply = make_reply(b"650 STATUS_CLIENT NOTICE BOOTSTRAP PROGRESS=10 TAG=conn_done SUMMARY=\"Connected to a relay\"\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::BootstrapStatus(_) => { + // Actual parsing delegated to parse_bootstrap_status + } + _ => unreachable!("Expected BootstrapStatus"), + } + } + + #[test] + fn circuit_built() { + let reply = make_reply(b"650 CIRC 42 BUILT $1111111111111111111111111111111111111111\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::CircuitBuilt(_) => {} + _ => unreachable!("Expected CircuitBuilt"), + } + } + + #[test] + fn circuit_closed() { + { + let reply = make_reply(b"650 CIRC 42 CLOSED\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::CircuitClosed(id) => { + assert_eq!(id, CircuitID::new(b"42").unwrap()); + } + _ => unreachable!("Expected CircuitClosed"), + } + } + { + let reply = make_reply(b"650-CIRC 42 CLOSED\r\n650 Extended data\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::CircuitClosed(id) => { + assert_eq!(id, CircuitID::new(b"42").unwrap()); + } + _ => unreachable!("Expected CircuitClosed"), + } + } + } + + #[test] + fn stream_sentconnect() { + let reply = make_reply(b"650 STREAM 1 SENTCONNECT 1 1.2.3.4:443\r\n"); + let notification = AsyncNotification::parse(reply).unwrap(); + match notification { + AsyncNotification::StreamSentConnect(_) => {} + _ => unreachable!("Expected StreamSentConnect"), + } + } + + #[test] + fn parse_errors() { + { + let reply = make_reply(b"650 UNKNOWN_EVENT data\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + { + // Empty keyword + let reply = make_reply(b"650 \r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + { + let reply = make_reply(b"250 Not an async reply\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + // Unkown statuses + { + let reply = make_reply(b"650 CIRC 42 EXTENDED\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + { + let reply = make_reply(b"650 STREAM 1 ATTACHED\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + // Invalid IDs + { + let reply = make_reply(b"650 CIRC a_b_c BUILT\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + { + let reply = make_reply(b"650 STREAM 123 SENTCONNECT a_b_c 1.2.3.4:443\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + { + let reply = make_reply(b"650 STREAM 12_3 SENTCONNECT abc 1.2.3.4:443\r\n"); + assert!(AsyncNotification::parse(reply).is_none()); + } + } +} View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2da1bad… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2da1bad… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/mullvad-browser-update-responses][main] 5 commits: release: new version, 16.0.2 (linux-aarch64)
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed to branch main at The Tor Project / Applications / mullvad-browser-update-responses Commits: d83e06e7 by Morgan at 2026-11-16T21:06:42+00:00 release: new version, 16.0.2 (linux-aarch64) - - - - - ce5e5c2f by Morgan at 2026-11-16T21:06:42+00:00 release: new version, 16.0.2 (linux-x86_64) - - - - - da36e835 by Morgan at 2026-11-16T21:06:42+00:00 release: new version, 16.0.2 (macos) - - - - - cc1318df by Morgan at 2026-11-16T21:06:42+00:00 release: new version, 16.0.2 (windows-x86_64) - - - - - 5f508561 by Morgan at 2026-11-16T21:06:42+00:00 release: new version, 16.0.2 - - - - - 38 changed files: - update_1/release/download-linux-aarch64.json - update_1/release/download-linux-x86_64.json - update_1/release/download-macos.json - update_1/release/download-windows-x86_64.json - update_1/release/downloads.json - update_1/release/linux-aarch64/.htaccess - − update_1/release/linux-aarch64/update-16.0-16.0.1-linux-aarch64.xml - + update_1/release/linux-aarch64/update-16.0-16.0.2-linux-aarch64.xml - + update_1/release/linux-aarch64/update-16.0.1-16.0.2-linux-aarch64.xml - − update_1/release/linux-aarch64/update-16.0.1-linux-aarch64.xml - + update_1/release/linux-aarch64/update-16.0.2-linux-aarch64.xml - update_1/release/linux-x86_64/.htaccess - − update_1/release/linux-x86_64/update-15.0.25-16.0.1-linux-x86_64.xml - − update_1/release/linux-x86_64/update-15.0.26-16.0.1-linux-x86_64.xml - + update_1/release/linux-x86_64/update-15.0.26-16.0.2-linux-x86_64.xml - − update_1/release/linux-x86_64/update-16.0-16.0.1-linux-x86_64.xml - + update_1/release/linux-x86_64/update-16.0-16.0.2-linux-x86_64.xml - + update_1/release/linux-x86_64/update-16.0.1-16.0.2-linux-x86_64.xml - − update_1/release/linux-x86_64/update-16.0.1-linux-x86_64.xml - + update_1/release/linux-x86_64/update-16.0.2-linux-x86_64.xml - update_1/release/macos/.htaccess - − update_1/release/macos/update-15.0.25-16.0.1-macos.xml - − update_1/release/macos/update-15.0.26-16.0.1-macos.xml - + update_1/release/macos/update-15.0.26-16.0.2-macos.xml - − update_1/release/macos/update-16.0-16.0.1-macos.xml - + update_1/release/macos/update-16.0-16.0.2-macos.xml - + update_1/release/macos/update-16.0.1-16.0.2-macos.xml - − update_1/release/macos/update-16.0.1-macos.xml - + update_1/release/macos/update-16.0.2-macos.xml - update_1/release/windows-x86_64/.htaccess - − update_1/release/windows-x86_64/update-15.0.25-16.0.1-windows-x86_64.xml - − update_1/release/windows-x86_64/update-15.0.26-16.0.1-windows-x86_64.xml - + update_1/release/windows-x86_64/update-15.0.26-16.0.2-windows-x86_64.xml - − update_1/release/windows-x86_64/update-16.0-16.0.1-windows-x86_64.xml - + update_1/release/windows-x86_64/update-16.0-16.0.2-windows-x86_64.xml - + update_1/release/windows-x86_64/update-16.0.1-16.0.2-windows-x86_64.xml - − update_1/release/windows-x86_64/update-16.0.1-windows-x86_64.xml - + update_1/release/windows-x86_64/update-16.0.2-windows-x86_64.xml The diff was not included because it is too large. View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser-update-respo… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser-update-respo… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/tor-browser] Pushed new branch tor-browser-158.0a1-17.0-1
by brizental (@brizental) 16 Nov '26

16 Nov '26
brizental pushed new branch tor-browser-158.0a1-17.0-1 at The Tor Project / Applications / Tor Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/tor-brows… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/tor-browser-build][maint-16.0] Bug 41910: Update version in projects/mmdebstrap-image for apt update
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed to branch maint-16.0 at The Tor Project / Applications / tor-browser-build Commits: 8727c326 by Nicolas Vigier at 2026-11-16T17:38:24+00:00 Bug 41910: Update version in projects/mmdebstrap-image for apt update This change will cause all containers to be rebuilt, except for stretch-based containers. To save space `make clean` can be run to remove all unused files from `out/`. Alternatively it's possible to remove the directories `out/container-image` and `out/mmdebstrap-image` before starting a new build. - - - - - 1 changed file: - projects/mmdebstrap-image/config Changes: ===================================== projects/mmdebstrap-image/config ===================================== @@ -1,6 +1,6 @@ # vim: filetype=yaml sw=2 filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %]-[% c("version") %].tar.[% c("compress_tar") %]' -version: 1 +version: 2 pkg_type: build compress_tar: zst container: View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8… -- 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. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/tor-browser-build] Pushed new tag mb-16.0.2-build1
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed new tag mb-16.0.2-build1 at The Tor Project / Applications / tor-browser-build -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/tree/mb-… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/tor-browser-build][maint-16.0] 2 commits: Revert "Bug 41910: Update version in projects/mmdebstrap-image for apt update"
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed to branch maint-16.0 at The Tor Project / Applications / tor-browser-build Commits: 8c17ab6b by Morgan at 2026-11-16T15:37:00+00:00 Revert "Bug 41910: Update version in projects/mmdebstrap-image for apt update" This reverts commit 614193ca4e6f6f6a5a175aac6511e6dffc5799c3. Temporary revert this commit to avoid a full-rebuild for Mullvad Browser 16.0.2 - - - - - a6011dc9 by Morgan at 2026-11-16T17:36:14+00:00 Bug 41926: Prepare Mullvad Browser 16.0.2 - - - - - 6 changed files: - projects/browser/Bundle-Data/Docs-MB/ChangeLog.txt - projects/browser/config - projects/firefox/config - projects/mmdebstrap-image/config - projects/translation/config - rbm.conf Changes: ===================================== projects/browser/Bundle-Data/Docs-MB/ChangeLog.txt ===================================== @@ -1,3 +1,10 @@ +Mullvad Browser 16.0.2 - November 16 2026 + * All Platforms + * Updated Mullvad Browser Extension to 0.9.11 + * Updated uBlock Origin to 1.76.4 + * Bug 593: Re-Add Cloudflare as available DoH provider in about:settings [mullvad-browser] + * Bug 594: Update relevant neterror page when Quad9 DoH resolution fails [mullvad-browser] + Mullvad Browser 16.0.1 - November 10 2026 * All Platforms * Updated Firefox to 153.7.0esr ===================================== projects/browser/config ===================================== @@ -90,13 +90,13 @@ input_files: - URL: https://dist.torproject.org/torbrowser/noscript/noscript-13.6.38.1984.xpi name: noscript sha256sum: bbd764d65017d88df18ea65eb9981c6c97b79a39df7378e9e01fcfd71a564ab6 - - URL: https://addons.mozilla.org/firefox/downloads/file/5225273/ublock_origin-1.7… + - URL: https://addons.mozilla.org/firefox/downloads/file/5257481/ublock_origin-1.7… name: ublock-origin - sha256sum: 6f20ff6749193599548770539103069c20948dfcd3e61c3089a67da7bfc3be39 + sha256sum: 66d0e3f21ce3b32b1bc0a9399b93cb2c9aa598ef18805d92118c76f66e266c1e enable: '[% c("var/mullvad-browser") %]' - - URL: https://cdn.mullvad.net/browser-extension/0.9.10/mullvad-browser-extension-… + - URL: https://cdn.mullvad.net/browser-extension/0.9.11/mullvad-browser-extension-… name: mullvad-extension - sha256sum: d8adfd5d83c67d8d50d9466c6564755de79a8a0825f5c67a151919506d411b30 + sha256sum: 462cb43b7e87bbae6ea377538c96866dccc193d657f9f430062fdbbab87881fd enable: '[% c("var/mullvad-browser") %]' - project: manual name: manual ===================================== projects/firefox/config ===================================== @@ -23,7 +23,7 @@ var: browser_series: '16.0' browser_rebase: 1 browser_branch: '[% c("var/browser_series") %]-[% c("var/browser_rebase") %]' - browser_build: 2 + browser_build: 3 upstream_firefox_commit: FIREFOX_NIGHTLY_153_END copyright_year: '[% exec("git show -s --format=%ci " _ c("git_hash") _ "^{commit}", { exec_noco => 1 }).remove("-.*") %]' nightly_updates_publish_dir: '[% c("var/nightly_updates_publish_dir_prefix") %]nightly-[% c("var/osname") %]' ===================================== projects/mmdebstrap-image/config ===================================== @@ -1,6 +1,6 @@ # vim: filetype=yaml sw=2 filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %]-[% c("version") %].tar.[% c("compress_tar") %]' -version: 2 +version: 1 pkg_type: build compress_tar: zst container: ===================================== projects/translation/config ===================================== @@ -12,7 +12,7 @@ compress_tar: 'gz' steps: base-browser: base-browser: '[% INCLUDE build %]' - git_hash: 9166a373a2edb5b54c4b6829e87348ebcd724110 + git_hash: ec65d92c2ee636e7e2d7b93018bf1209a69775fc targets: nightly: git_hash: 'base-browser' ===================================== rbm.conf ===================================== @@ -85,7 +85,7 @@ var: torbrowser_build: 'build1' # This should be the date of when the build is started. For the build # to be reproducible, browser_release_date should always be in the past. - browser_release_date: '2026/11/10 15:00:00' + browser_release_date: '2026/11/16 15:56:08' browser_release_date_timestamp: '[% USE date; date.format(c("var/browser_release_date"), "%s") %]' browser_default_channel: release browser_platforms: @@ -131,9 +131,9 @@ var: updater_enabled: 1 build_mar: 1 torbrowser_incremental_from: + - 16.0.1 - '16.0' - 15.0.26 - - 15.0.25 mar_channel_id: '[% c("var/projectname") %]-torproject-[% c("var/channel") %]' # By default, we sort the list of installed packages. This allows sharing View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/tor-browser-build][main] Bug 41903: Update toolchains for Firefox 156
by boklm (@boklm) 16 Nov '26

16 Nov '26
boklm pushed to branch main at The Tor Project / Applications / tor-browser-build Commits: af3b9d97 by Nicolas Vigier at 2026-11-16T17:26:37+01:00 Bug 41903: Update toolchains for Firefox 156 - - - - - 12 changed files: - projects/application-services/config - projects/firefox/config - projects/geckoview/config - projects/gradle/config - projects/llvm-project/config - projects/mingw-w64-clang/build - projects/mingw-w64-clang/config - − projects/mingw-w64-clang/mingw-libunwind-seh.patch - projects/rust/config - projects/wasi-sysroot/build - projects/wasi-sysroot/build_compiler_rt - projects/wasi-sysroot/wasi-sdk.patch Changes: ===================================== projects/application-services/config ===================================== @@ -1,5 +1,5 @@ # vim: filetype=yaml sw=2 -version: '155.0' +version: '156.0' git_hash: 'v[% c("version") %]-TORBROWSER-build[% c("var/build_number") %]' git_url: https://gitlab.torproject.org/tpo/applications/application-services.git tag_gpg_id: 1 @@ -90,7 +90,7 @@ steps: project: application-services pkg_type: cargo_vendor norec: - sha256sum: 30006ba4109a8011c951757235209ddf3b40aff92f793312c7ee84e8f03ca1bf + sha256sum: 19160c9bca5d0b1b98f2a0041dd0334e2ff79f81022d9fad8a96ffc7e4a410b2 enable: '[% !c("var/generate_gradle_dependencies_list") %]' - filename: gen-gradle-deps-file.py enable: '[% c("var/generate_gradle_dependencies_list") %]' ===================================== projects/firefox/config ===================================== @@ -18,13 +18,13 @@ container: use_container: 1 var: - firefox_platform_version: '155.0a1' + firefox_platform_version: '156.0a1' firefox_version: '[% c("var/firefox_platform_version") %]' browser_series: '17.0' - browser_rebase: 1 + browser_rebase: 2 browser_branch: '[% c("var/browser_series") %]-[% c("var/browser_rebase") %]' browser_build: 1 - upstream_firefox_commit: FIREFOX_NIGHTLY_155_END + upstream_firefox_commit: FIREFOX_NIGHTLY_156_END copyright_year: '[% exec("git show -s --format=%ci " _ c("git_hash") _ "^{commit}", { exec_noco => 1 }).remove("-.*") %]' nightly_updates_publish_dir: '[% c("var/nightly_updates_publish_dir_prefix") %]nightly-[% c("var/osname") %]' gitlab_project: https://gitlab.torproject.org/tpo/applications/tor-browser ===================================== projects/geckoview/config ===================================== @@ -21,10 +21,10 @@ container: build_apk: '[% !c("var/online_build") %]' var: - firefox_platform_version: '155.0a1' + firefox_platform_version: '156.0a1' geckoview_version: '[% c("var/firefox_platform_version") %]' browser_series: '17.0' - browser_rebase: 1 + browser_rebase: 2 browser_branch: '[% c("var/browser_series") %]-[% c("var/browser_rebase") %]' browser_build: 1 gitlab_project: https://gitlab.torproject.org/tpo/applications/tor-browser @@ -38,7 +38,7 @@ var: - python3-zstandard - pkg-config - openjdk-17-jdk-headless - gradle_version: 9.7.0 + gradle_version: 9.7.1 glean_parser: 20.1.0 # python/mozboot/mozboot/android.py bundletool_version: 1.18.3 ===================================== projects/gradle/config ===================================== @@ -12,7 +12,7 @@ var: export PATH=$PATH:$GRADLE_HOME/bin gradle_sha256sum: 8.14.3: bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531 - 9.7.0: 84fbba45c7f4c64abc77460e1c00f541e9f960e3c7ed2538f1ede19eacd873ae + 9.7.1: acd53f1edaf02f1a8ff99879f8a34b302661a057d9b063ae9e35b552f804d20a input_files: - project: container-image ===================================== projects/llvm-project/config ===================================== @@ -1,6 +1,6 @@ # vim: filetype=yaml sw=2 -version: "21.1.8" -git_hash: 2078da43e25a4623cab2d0d60decddf709aaea28 +version: "22.1.8" +git_hash: ca7933e47d3a3451d81e72ac174dcb5aa28b59d1 git_url: https://github.com/llvm/llvm-project filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]' ===================================== projects/mingw-w64-clang/build ===================================== @@ -14,7 +14,6 @@ cd $builddir tar -xf $rootdir/[% c('input_files_by_name/llvm-project') %] cd $builddir/clang-source -patch -p1 < "$rootdir/mingw-libunwind-seh.patch" # libc++.a depends on libunwind.a. While the linker will automatically link to # libc++.a in C++ mode, it won't pick libunwind.a, requiring the caller to ===================================== projects/mingw-w64-clang/config ===================================== @@ -38,6 +38,3 @@ input_files: - filename: mingw-ts_sd.patch - filename: mingw-foundation_redef.patch - filename: mingw-webrtc.patch - # Remove when switching to Clang 22. - # See Firefox's 9c6b4642907950bd9e3f663fbb7fcb0a16218232 - - filename: mingw-libunwind-seh.patch ===================================== projects/mingw-w64-clang/mingw-libunwind-seh.patch deleted ===================================== @@ -1,95 +0,0 @@ -From 0991d7b8fd01546aaf537a6238227100570f8236 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin(a)martin.st> -Date: Thu, 12 Feb 2026 00:31:09 +0200 -Subject: [PATCH] [libunwind] Fix building with EXCEPTION_DISPOSITION as enum - (#180513) - -On Windows, libunwind is normally only built in mingw mode; it's not -relevant for MSVC targets. (Attempting to build it is entirely blocked -in CMake, see [1]). - -In mingw headers, the type EXCEPTION_DISPOSITION is defined as an int -while it is an enum in the MSVC vcruntime headers. - -However, in addition to the canonical enum members, we also use a value -which has no assigned enum member. In older mingw-w64 headers, there was -a define for this value, 4, with the name ExceptionExecuteHandler, but -that was removed in [2]. The libunwind code reference this value just by -the literal value 4, with a comment referencing it as -ExceptionExecuteHandler. - -This extra enum value isn't passed to the outside Microsoft runtime, but -is only used to pass values from one part of libunwind to another; this -handling is necessary for the forced_unwind{1-3}.pass.cpp tests to -succeed. - -If the mingw-w64 headers would define EXCEPTION_DISPOSITION as an enum, -just like the MSVC vcruntime headers, then we'd run into build errors -and warnings like this: - - llvm-project/libunwind/src/Unwind-seh.cpp:166:14: error: cannot initialize return object of type 'EXCEPTION_DISPOSITION' (aka 'enum _EXCEPTION_DISPOSITION') with an rvalue of type 'int' - 166 | return 4 /* ExceptionExecuteHandler in mingw */; - | ^ - llvm-project/libunwind/src/Unwind-seh.cpp:185:14: error: cannot initialize return object of type 'EXCEPTION_DISPOSITION' (aka 'enum _EXCEPTION_DISPOSITION') with an rvalue of type 'int' - 185 | return 4 /* ExceptionExecuteHandler in mingw */; - | ^ - llvm-project/libunwind/src/Unwind-seh.cpp:272:8: warning: case value not in enumerated type 'EXCEPTION_DISPOSITION' (aka 'enum _EXCEPTION_DISPOSITION') [-Wswitch] - 272 | case 4 /*ExceptionExecuteHandler*/: - | ^ - -Fix these cases by adding explicit casts between EXCEPTION_DISPOSITION -and int. - -A (partial) similar change was proposed in [3], but the author never -followed up on the discussion, and the PR was later closed. - -[1] b0b546d44777eb1fa25995384876bd14a006a929 -[2] https://github.com/mingw-w64/mingw-w64/commit/2de6703961c0d519046b841f7b392… -[3] https://github.com/llvm/llvm-project/pull/159293 ---- - libunwind/src/Unwind-seh.cpp | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -diff --git a/libunwind/src/Unwind-seh.cpp b/libunwind/src/Unwind-seh.cpp -index 110c5987c3f1..0b1930b44d1c 100644 ---- a/libunwind/src/Unwind-seh.cpp -+++ b/libunwind/src/Unwind-seh.cpp -@@ -163,7 +163,7 @@ _GCC_specific_handler(PEXCEPTION_RECORD ms_exc, PVOID frame, PCONTEXT ms_ctx, - // If we were called by __libunwind_seh_personality(), indicate that - // a handler was found; otherwise, initiate phase 2 by unwinding. - if (ours && ms_exc->NumberParameters > 1) -- return 4 /* ExceptionExecuteHandler in mingw */; -+ return static_cast<EXCEPTION_DISPOSITION>(4); - // This should never happen in phase 2. - if (IS_UNWINDING(ms_exc->ExceptionFlags)) - _LIBUNWIND_ABORT("Personality indicated exception handler in phase 2!"); -@@ -182,7 +182,7 @@ _GCC_specific_handler(PEXCEPTION_RECORD ms_exc, PVOID frame, PCONTEXT ms_ctx, - // a handler was found; otherwise, it's time to initiate a collided - // unwind to the target. - if (ours && !IS_UNWINDING(ms_exc->ExceptionFlags) && ms_exc->NumberParameters > 1) -- return 4 /* ExceptionExecuteHandler in mingw */; -+ return static_cast<EXCEPTION_DISPOSITION>(4); - // This should never happen in phase 1. - if (!IS_UNWINDING(ms_exc->ExceptionFlags)) - _LIBUNWIND_ABORT("Personality installed context during phase 1!"); -@@ -259,13 +259,12 @@ __libunwind_seh_personality(int version, _Unwind_Action state, - (void *)disp_ctx->LanguageHandler, (void *)&ms_exc, - (void *)disp_ctx->EstablisherFrame, - (void *)disp_ctx->ContextRecord, (void *)disp_ctx); -- EXCEPTION_DISPOSITION ms_act = disp_ctx->LanguageHandler(&ms_exc, -- (PVOID)disp_ctx->EstablisherFrame, -- disp_ctx->ContextRecord, -- disp_ctx); -+ int ms_act = static_cast<int>( -+ disp_ctx->LanguageHandler(&ms_exc, (PVOID)disp_ctx->EstablisherFrame, -+ disp_ctx->ContextRecord, disp_ctx)); - _LIBUNWIND_TRACE_UNWINDING("__libunwind_seh_personality() LanguageHandler " - "returned %d", -- (int)ms_act); -+ ms_act); - switch (ms_act) { - case ExceptionContinueExecution: return _URC_END_OF_STACK; - case ExceptionContinueSearch: return _URC_CONTINUE_UNWIND; --- -2.53.0 - ===================================== projects/rust/config ===================================== @@ -1,6 +1,6 @@ # vim: filetype=yaml sw=2 filename: '[% project %]-[% c("version") %]-[% c("var/filename_targets") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]' -version: '1.94.1' +version: '1.95.0' container: use_container: 1 ===================================== projects/wasi-sysroot/build ===================================== @@ -12,6 +12,9 @@ make \ NINJA_FLAGS='-j[% c("num_procs") %]' mv build/install/wasi/share/wasi-sysroot/* $distdir/ +# Add wasip1 directories to wasi sysroot and compiler-rt. +# See firefox commit 630a929dcf8de5f46d3affe52607ed588276393a +cp -r $distdir/lib/wasm32-wasi $distdir/lib/wasm32-wasip1 cd /var/tmp/dist [% c('tar', { ===================================== projects/wasi-sysroot/build_compiler_rt ===================================== @@ -12,6 +12,9 @@ make \ rtdir=/var/tmp/dist/clang/lib/clang/[% pc("llvm-project", "var/llvm_major") %]/lib/wasi mkdir -p $rtdir mv build/compiler-rt/lib/wasi/* $rtdir/ +# Add wasip1 directories to wasi sysroot and compiler-rt. +# See firefox commit 630a929dcf8de5f46d3affe52607ed588276393a +cp -r $rtdir "$rtdir/../wasip1" cd /var/tmp/dist [% c('tar', { ===================================== projects/wasi-sysroot/wasi-sdk.patch ===================================== @@ -64,7 +64,7 @@ index f350ecb..3b73115 100644 @# TODO: As of clang 16, __GNUC_VA_LIST is #defined without a value. $(CC) $(CFLAGS) "$(SYSROOT_SHARE)/include-all.c" \ -isystem $(SYSROOT_INC) \ -@@ -691,6 +701,11 @@ check-symbols: startup_files libc +@@ -691,6 +701,12 @@ check-symbols: startup_files libc -U__clang_wide_literal_encoding__ \ -U__wasm_mutable_globals__ \ -U__wasm_sign_ext__ \ @@ -73,10 +73,11 @@ index f350ecb..3b73115 100644 + -U__wasm_nontrapping_fptoint__ \ + $(if $(filter-out wasm32-wasi-threads,$(TARGET_TRIPLE)),-U__wasm_bulk_memory__) \ + -U__wasm_bulk_memory_opt__ \ ++ -U__wasip1__ \ -U__GNUC__ \ -U__GNUC_MINOR__ \ -U__GNUC_PATCHLEVEL__ \ -@@ -702,6 +717,13 @@ check-symbols: startup_files libc +@@ -702,6 +718,13 @@ check-symbols: startup_files libc | sed -e 's/__GNUC_VA_LIST $$/__GNUC_VA_LIST 1/' \ | grep -v '^#define __\(BOOL\|INT_\(LEAST\|FAST\)\(8\|16\|32\|64\)\|INT\|LONG\|LLONG\|SHRT\)_WIDTH__' \ | grep -v '^#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_\(1\|2\|4\|8\)' \ View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/mullvad-browser] Pushed new tag mullvad-browser-153.7.0esr-16.0-1-build3
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed new tag mullvad-browser-153.7.0esr-16.0-1-build3 at The Tor Project / Applications / Mullvad Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/tree/mullv… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/mullvad-browser][mullvad-browser-153.7.0esr-16.0-1] fixup! MB 594: Add Quad9 resolution guidance to about:neterror
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed to branch mullvad-browser-153.7.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser Commits: d1d14852 by Morgan at 2026-11-16T15:28:03+00:00 fixup! MB 594: Add Quad9 resolution guidance to about:neterror update Change DNS Settings button to go to Advanced DoH settings - - - - - 3 changed files: - toolkit/actors/NetErrorParent.sys.mjs - toolkit/content/aboutNetError.mjs - toolkit/modules/RemotePageAccessManager.sys.mjs Changes: ===================================== toolkit/actors/NetErrorParent.sys.mjs ===================================== @@ -280,6 +280,17 @@ export class NetErrorParent extends EscapablePageParent { win.openPreferences("privacy-doh"); break; } + // mullvad-browser#594: Send user directly to the advanced settings to configure their DoH server + case "OpenTRRAdvancedSettings": { + let browser = this.browsingContext.top.embedderElement; + if (!browser) { + break; + } + + let win = browser.documentGlobal; + win.openPreferences("dnsOverHttps"); + break; + } } } } ===================================== toolkit/content/aboutNetError.mjs ===================================== @@ -525,7 +525,9 @@ function initPage() { } let trrSettingsButton = document.getElementById("trrSettingsButton"); trrSettingsButton.addEventListener("click", () => { - RPMSendAsyncMessage("OpenTRRPreferences"); + // mullvad-browser#594: Send user directly to the advanced settings rather than the parent page + // since users will need to click thorugh advanced to make changes anyway + RPMSendAsyncMessage("OpenTRRAdvancedSettings"); }); trrSettingsButton.hidden = false; let message = document.getElementById("trrOnlyMessage"); ===================================== toolkit/modules/RemotePageAccessManager.sys.mjs ===================================== @@ -108,6 +108,8 @@ export let RemotePageAccessManager = { "Browser:ResetEnterpriseRootsPref", "DisplayOfflineSupportPage", "OpenTRRPreferences", + // mullvad-browser#594: new async message to go directly to advanced DoH settings + "OpenTRRAdvancedSettings", ], RPMCheckAlternateHostAvailable: ["*"], RPMRecordGleanEvent: [ View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d1d… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d1d… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
[Git][tpo/applications/mullvad-browser][mullvad-browser-156.0a1-17.0-2] fixup! MB 594: Add Quad9 resolution guidance to about:neterror
by morgan (@morgan) 16 Nov '26

16 Nov '26
morgan pushed to branch mullvad-browser-156.0a1-17.0-2 at The Tor Project / Applications / Mullvad Browser Commits: 4085b2fb by Morgan at 2026-11-16T15:24:08+00:00 fixup! MB 594: Add Quad9 resolution guidance to about:neterror update Change DNS Settings button to go to Advanced DoH settings - - - - - 3 changed files: - toolkit/actors/NetErrorParent.sys.mjs - toolkit/content/aboutNetError.mjs - toolkit/modules/RemotePageAccessManager.sys.mjs Changes: ===================================== toolkit/actors/NetErrorParent.sys.mjs ===================================== @@ -626,6 +626,17 @@ export class NetErrorParent extends EscapablePageParent { win.openPreferences("privacy-doh"); break; } + // mullvad-browser#594: Send user directly to the advanced settings to configure their DoH server + case "OpenTRRAdvancedSettings": { + let browser = this.browsingContext.top.embedderElement; + if (!browser) { + break; + } + + let win = browser.documentGlobal; + win.openPreferences("dnsOverHttps"); + break; + } case "SearchCTA:GetInfo": return this.getSearchCTAInfo(message.data.url); case "SearchCTA:Search": ===================================== toolkit/content/aboutNetError.mjs ===================================== @@ -525,7 +525,9 @@ function initPage() { } let trrSettingsButton = document.getElementById("trrSettingsButton"); trrSettingsButton.addEventListener("click", () => { - RPMSendAsyncMessage("OpenTRRPreferences"); + // mullvad-browser#594: Send user directly to the advanced settings rather than the parent page + // since users will need to click thorugh advanced to make changes anyway + RPMSendAsyncMessage("OpenTRRAdvancedSettings"); }); trrSettingsButton.hidden = false; let message = document.getElementById("trrOnlyMessage"); ===================================== toolkit/modules/RemotePageAccessManager.sys.mjs ===================================== @@ -116,6 +116,8 @@ export let RemotePageAccessManager = { "Browser:ResetEnterpriseRootsPref", "DisplayOfflineSupportPage", "OpenTRRPreferences", + // mullvad-browser#594: new async message to go directly to advanced DoH settings + "OpenTRRAdvancedSettings", "SearchCTA:Search", "SearchCTA:SearchAborted", ], View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/408… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/408… You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • ...
  • 2142
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.