henry pushed to branch tor-browser-146.0a1-16.0-1 at The Tor Project /
Applications / Tor Browser
Commits:
e68edee9 by Henry Wilkes at 2025-12-08T16:41:28+00:00
fixup! TB 40701: Add security warning when downloading a file
TB 44411: Switch DownloadsTorWarning.sys.mjs to moz-src URI.
- - - - -
3 changed files:
- browser/components/downloads/content/contentAreaDownloadsView.js
- browser/components/downloads/content/downloads.js
- browser/components/places/content/places.js
Changes:
=====================================
browser/components/downloads/content/contentAreaDownloadsView.js
=====================================
@@ -9,7 +9,7 @@ const { PrivateBrowsingUtils } = ChromeUtils.importESModule(
);
const { DownloadsTorWarning } = ChromeUtils.importESModule(
- "resource:///modules/DownloadsTorWarning.sys.mjs"
+ "moz-src:///browser/components/downloads/DownloadsTorWarning.sys.mjs"
);
var ContentAreaDownloadsView = {
=====================================
browser/components/downloads/content/downloads.js
=====================================
@@ -41,7 +41,8 @@ ChromeUtils.defineESModuleGetters(this, {
NetUtil: "resource://gre/modules/NetUtil.sys.mjs",
PlacesUtils: "resource://gre/modules/PlacesUtils.sys.mjs",
PrivateBrowsingUtils: "resource://gre/modules/PrivateBrowsingUtils.sys.mjs",
- DownloadsTorWarning: "resource:///modules/DownloadsTorWarning.sys.mjs",
+ DownloadsTorWarning:
+ "moz-src:///browser/components/downloads/DownloadsTorWarning.sys.mjs",
});
const { Integration } = ChromeUtils.importESModule(
=====================================
browser/components/places/content/places.js
=====================================
@@ -17,7 +17,8 @@ ChromeUtils.defineESModuleGetters(this, {
PlacesBackups: "resource://gre/modules/PlacesBackups.sys.mjs",
PrivateBrowsingUtils: "resource://gre/modules/PrivateBrowsingUtils.sys.mjs",
DownloadUtils: "resource://gre/modules/DownloadUtils.sys.mjs",
- DownloadsTorWarning: "resource:///modules/DownloadsTorWarning.sys.mjs",
+ DownloadsTorWarning:
+ "moz-src:///browser/components/downloads/DownloadsTorWarning.sys.mjs",
});
XPCOMUtils.defineLazyScriptGetter(
this,
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e68edee9e821284a859d80ca5584ae8dd6a9f4b3
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e68edee9e821284a859d80ca5584ae8dd6a9f4b3
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]