config: allow configuring client capabilities
This commit is contained in:
parent
76a1a86091
commit
e680a3dc09
21 changed files with 624 additions and 39 deletions
|
|
@ -175,6 +175,12 @@ impl Rule for ClientRule {
|
|||
});
|
||||
}
|
||||
}
|
||||
if let Some(caps) = self.capabilities {
|
||||
matcher.set_capabilities(caps);
|
||||
}
|
||||
if let Some(caps) = self.bounding_capabilities {
|
||||
matcher.set_sandbox_bounding_capabilities(caps);
|
||||
}
|
||||
}
|
||||
|
||||
fn gen_matcher(m: Self::Matcher) -> Self::Criterion<'static> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue