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
3 changed files:
- toolkit/actors/NetErrorParent.sys.mjs
- toolkit/content/aboutNetError.mjs
- toolkit/modules/RemotePageAccessManager.sys.mjs
Changes:
| ... | ... | @@ -280,6 +280,17 @@ export class NetErrorParent extends EscapablePageParent { |
| 280 | 280 | win.openPreferences("privacy-doh");
|
| 281 | 281 | break;
|
| 282 | 282 | }
|
| 283 | + // mullvad-browser#594: Send user directly to the advanced settings to configure their DoH server
|
|
| 284 | + case "OpenTRRAdvancedSettings": {
|
|
| 285 | + let browser = this.browsingContext.top.embedderElement;
|
|
| 286 | + if (!browser) {
|
|
| 287 | + break;
|
|
| 288 | + }
|
|
| 289 | + |
|
| 290 | + let win = browser.documentGlobal;
|
|
| 291 | + win.openPreferences("dnsOverHttps");
|
|
| 292 | + break;
|
|
| 293 | + }
|
|
| 283 | 294 | }
|
| 284 | 295 | }
|
| 285 | 296 | } |
| ... | ... | @@ -525,7 +525,9 @@ function initPage() { |
| 525 | 525 | }
|
| 526 | 526 | let trrSettingsButton = document.getElementById("trrSettingsButton");
|
| 527 | 527 | trrSettingsButton.addEventListener("click", () => {
|
| 528 | - RPMSendAsyncMessage("OpenTRRPreferences");
|
|
| 528 | + // mullvad-browser#594: Send user directly to the advanced settings rather than the parent page
|
|
| 529 | + // since users will need to click thorugh advanced to make changes anyway
|
|
| 530 | + RPMSendAsyncMessage("OpenTRRAdvancedSettings");
|
|
| 529 | 531 | });
|
| 530 | 532 | trrSettingsButton.hidden = false;
|
| 531 | 533 | let message = document.getElementById("trrOnlyMessage");
|
| ... | ... | @@ -108,6 +108,8 @@ export let RemotePageAccessManager = { |
| 108 | 108 | "Browser:ResetEnterpriseRootsPref",
|
| 109 | 109 | "DisplayOfflineSupportPage",
|
| 110 | 110 | "OpenTRRPreferences",
|
| 111 | + // mullvad-browser#594: new async message to go directly to advanced DoH settings
|
|
| 112 | + "OpenTRRAdvancedSettings",
|
|
| 111 | 113 | ],
|
| 112 | 114 | RPMCheckAlternateHostAvailable: ["*"],
|
| 113 | 115 | RPMRecordGleanEvent: [
|