Add preference to allow the loading of FTP subresources for corner cases

This commit is contained in:
wolfbeast 2019-07-14 22:41:01 +02:00 committed by Roy Tam
commit 797f3eae35
4 changed files with 19 additions and 0 deletions

View file

@ -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: