From 0d448f2baa5a4f8d264937af62b689e7eee6385c Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Sat, 25 Jan 2020 14:47:55 -0800 Subject: [PATCH] closes #585: check parse-on-load is enabled first --- toolkit/components/reader/Readerable.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolkit/components/reader/Readerable.js b/toolkit/components/reader/Readerable.js index aaca002f7..49e139823 100644 --- a/toolkit/components/reader/Readerable.js +++ b/toolkit/components/reader/Readerable.js @@ -60,6 +60,11 @@ var Readerable = { if (!(uri.schemeIs("http") || uri.schemeIs("https"))) { return false; } + if (!(this.isEnabledForParseOnLoad())) { + // TenFourFox issue 585 + // Do this check here as well. + return false; + } if (!isBaseUri) { // Sadly, some high-profile pages have false positives, so bail early for those: let asciiHost = uri.asciiHost;