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
3 changed files:
- toolkit/actors/NetErrorParent.sys.mjs
- toolkit/content/aboutNetError.mjs
- toolkit/modules/RemotePageAccessManager.sys.mjs
Changes:
| ... | ... | @@ -626,6 +626,17 @@ export class NetErrorParent extends EscapablePageParent { |
| 626 | 626 | win.openPreferences("privacy-doh");
|
| 627 | 627 | break;
|
| 628 | 628 | }
|
| 629 | + // mullvad-browser#594: Send user directly to the advanced settings to configure their DoH server
|
|
| 630 | + case "OpenTRRAdvancedSettings": {
|
|
| 631 | + let browser = this.browsingContext.top.embedderElement;
|
|
| 632 | + if (!browser) {
|
|
| 633 | + break;
|
|
| 634 | + }
|
|
| 635 | + |
|
| 636 | + let win = browser.documentGlobal;
|
|
| 637 | + win.openPreferences("dnsOverHttps");
|
|
| 638 | + break;
|
|
| 639 | + }
|
|
| 629 | 640 | case "SearchCTA:GetInfo":
|
| 630 | 641 | return this.getSearchCTAInfo(message.data.url);
|
| 631 | 642 | case "SearchCTA:Search":
|
| ... | ... | @@ -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");
|
| ... | ... | @@ -116,6 +116,8 @@ export let RemotePageAccessManager = { |
| 116 | 116 | "Browser:ResetEnterpriseRootsPref",
|
| 117 | 117 | "DisplayOfflineSupportPage",
|
| 118 | 118 | "OpenTRRPreferences",
|
| 119 | + // mullvad-browser#594: new async message to go directly to advanced DoH settings
|
|
| 120 | + "OpenTRRAdvancedSettings",
|
|
| 119 | 121 | "SearchCTA:Search",
|
| 120 | 122 | "SearchCTA:SearchAborted",
|
| 121 | 123 | ],
|