commit 7baed647f56e5d3e7c92eaffadb1c18c07aabe7f Author: Alex Catarineu acat@torproject.org 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
tbb-commits@lists.torproject.org