Merge pull request #18728 from Rob--W/crx-mv3-fallback-detect-fixup
[CRX] Fix feature detect of DNR responseHeaders option
This commit is contained in:
commit
014ce7c1db
@ -227,8 +227,10 @@ async function isHeaderConditionSupported() {
|
||||
addRules: [
|
||||
{
|
||||
id: ruleId,
|
||||
urlFilter: "|does_not_match_anything",
|
||||
condition: { responseHeaders: [{ header: "whatever" }] },
|
||||
condition: {
|
||||
responseHeaders: [{ header: "whatever" }],
|
||||
urlFilter: "|does_not_match_anything",
|
||||
},
|
||||
action: { type: "block" },
|
||||
},
|
||||
],
|
||||
@ -244,8 +246,10 @@ async function isHeaderConditionSupported() {
|
||||
addRules: [
|
||||
{
|
||||
id: ruleId,
|
||||
urlFilter: "|does_not_match_anything",
|
||||
condition: { responseHeaders: [] },
|
||||
condition: {
|
||||
responseHeaders: [],
|
||||
urlFilter: "|does_not_match_anything",
|
||||
},
|
||||
action: { type: "block" },
|
||||
},
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user