[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] fixup! Bug 24653: merge securityLevel.properties into torbutton.dtd
commit 7baed647f56e5d3e7c92eaffadb1c18c07aabe7f
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
Date: Mon Sep 16 13:01:32 2019 +0200
fixup! Bug 24653: merge securityLevel.properties into torbutton.dtd
---
browser/components/securitylevel/content/securityLevel.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/browser/components/securitylevel/content/securityLevel.js b/browser/components/securitylevel/content/securityLevel.js
index 9dc23d97855d..9965046a7d15 100644
--- a/browser/components/securitylevel/content/securityLevel.js
+++ b/browser/components/securitylevel/content/securityLevel.js
@@ -9,7 +9,11 @@ XPCOMUtils.defineLazyModuleGetters(this, {
});
XPCOMUtils.defineLazyGlobalGetters(this, ["DOMParser"]);
-XPCOMUtils.defineLazyGetter(this, "domParser", () => new DOMParser());
+XPCOMUtils.defineLazyGetter(this, "domParser", () => {
+ const parser = new DOMParser();
+ parser.forceEnableDTD();
+ return parser;
+});
/*
Security Level Strings
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits