closes #585: check parse-on-load is enabled first
This commit is contained in:
parent
581cb94a73
commit
0d448f2baa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue