mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
moebius#223: Consider blocking top level window data: URIs (part 1/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/223
This commit is contained in:
parent
08e2f9aaea
commit
712d19e1b7
22 changed files with 515 additions and 1 deletions
|
|
@ -95,6 +95,8 @@ public:
|
|||
|
||||
bool IsLinkUp();
|
||||
|
||||
static bool BlockToplevelDataUriNavigations();
|
||||
|
||||
// Used to trigger a recheck of the captive portal status
|
||||
nsresult RecheckCaptivePortal();
|
||||
private:
|
||||
|
|
@ -176,6 +178,8 @@ private:
|
|||
|
||||
static bool sTelemetryEnabled;
|
||||
|
||||
static bool sBlockToplevelDataUriNavigations;
|
||||
|
||||
// These timestamps are needed for collecting telemetry on PR_Connect,
|
||||
// PR_ConnectContinue and PR_Close blocking time. If we spend very long
|
||||
// time in any of these functions we want to know if and what network
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue