summaryrefslogtreecommitdiffstats
path: root/netwerk/base/nsIOService.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-07-14 22:41:01 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-07-22 12:11:03 +0200
commit055fe1f56b1a86568cf5794f3e891046876132c6 (patch)
tree329744e7fe418d3e4db153609f75f7ad23f7312a /netwerk/base/nsIOService.h
parentcd964d099ff9da58c05617beee81ac3364098679 (diff)
downloadUXP-055fe1f56b1a86568cf5794f3e891046876132c6.tar
UXP-055fe1f56b1a86568cf5794f3e891046876132c6.tar.gz
UXP-055fe1f56b1a86568cf5794f3e891046876132c6.tar.lz
UXP-055fe1f56b1a86568cf5794f3e891046876132c6.tar.xz
UXP-055fe1f56b1a86568cf5794f3e891046876132c6.zip
Add preference to allow the loading of FTP subresources for corner cases
Diffstat (limited to 'netwerk/base/nsIOService.h')
-rw-r--r--netwerk/base/nsIOService.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/netwerk/base/nsIOService.h b/netwerk/base/nsIOService.h
index 19eed743a..f3a26f5d2 100644
--- a/netwerk/base/nsIOService.h
+++ b/netwerk/base/nsIOService.h
@@ -94,6 +94,8 @@ public:
static bool BlockToplevelDataUriNavigations();
+ static bool BlockFTPSubresources();
+
// Used to trigger a recheck of the captive portal status
nsresult RecheckCaptivePortal();
private:
@@ -175,6 +177,8 @@ private:
static bool sBlockToplevelDataUriNavigations;
+ static bool sBlockFTPSubresources;
+
// Time a network tearing down started.
mozilla::Atomic<PRIntervalTime> mNetTearingDownStarted;
public: