treat empty url-prefix() as non-matching
This commit is contained in:
parent
c416fa7ca0
commit
3b83f02cd7
|
@ -586,7 +586,7 @@ const styleManager = (() => {
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (section.urlPrefixes && section.urlPrefixes.some(p => query.url.startsWith(p))) {
|
if (section.urlPrefixes && section.urlPrefixes.some(p => p && query.url.startsWith(p))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// as per spec the fragment portion is ignored in @-moz-document:
|
// as per spec the fragment portion is ignored in @-moz-document:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user