mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-11 17:57:32 +09:00
[Basilisk] Issue #2 - Remove Safebrowsing and TrackingProtection from the FE
This resolves #2
This commit is contained in:
parent
591a887bf3
commit
6cefc52d32
36 changed files with 0 additions and 1389 deletions
|
|
@ -183,40 +183,6 @@ this.ControlCenter = {
|
|||
}),
|
||||
},
|
||||
|
||||
trackingProtectionNoElements: {
|
||||
applyConfig: Task.async(function* () {
|
||||
Services.prefs.setBoolPref("privacy.trackingprotection.enabled", true);
|
||||
|
||||
yield loadPage(HTTP_PAGE);
|
||||
yield openIdentityPopup();
|
||||
}),
|
||||
},
|
||||
|
||||
trackingProtectionEnabled: {
|
||||
applyConfig: Task.async(function* () {
|
||||
Services.prefs.setBoolPref("privacy.trackingprotection.enabled", true);
|
||||
yield UrlClassifierTestUtils.addTestTrackers();
|
||||
|
||||
yield loadPage(TRACKING_PAGE);
|
||||
yield openIdentityPopup();
|
||||
}),
|
||||
},
|
||||
|
||||
trackingProtectionDisabled: {
|
||||
applyConfig: Task.async(function* () {
|
||||
let browserWindow = Services.wm.getMostRecentWindow("navigator:browser");
|
||||
let gBrowser = browserWindow.gBrowser;
|
||||
Services.prefs.setBoolPref("privacy.trackingprotection.enabled", true);
|
||||
yield UrlClassifierTestUtils.addTestTrackers();
|
||||
|
||||
yield loadPage(TRACKING_PAGE);
|
||||
yield openIdentityPopup();
|
||||
// unblock the page
|
||||
gBrowser.ownerGlobal.document.querySelector("#tracking-action-unblock").click();
|
||||
yield BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser, false, TRACKING_PAGE);
|
||||
yield openIdentityPopup();
|
||||
}),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue