mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Issue #991 Part 4: Network and URILoader
This commit is contained in:
parent
e2e42f0e1a
commit
3da26ba9e3
4 changed files with 9 additions and 35 deletions
|
|
@ -295,12 +295,7 @@ const profiles = ["ASCII", "high", "moderate"];
|
|||
function run_test() {
|
||||
var pbi = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
|
||||
var oldProfile = pbi.getCharPref("network.IDN.restriction_profile", "moderate");
|
||||
var oldWhiteListCom;
|
||||
try {
|
||||
oldWhitelistCom = pbi.getBoolPref("network.IDN.whitelist.com");
|
||||
} catch(e) {
|
||||
oldWhitelistCom = false;
|
||||
}
|
||||
var oldWhitelistCom = pbi.getBoolPref("network.IDN.whitelist.com", false);
|
||||
var idnService = Cc["@mozilla.org/network/idn-service;1"].getService(Ci.nsIIDNService);
|
||||
|
||||
for (var i = 0; i < profiles.length; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue