mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Miscellaneous build / tidy fixes.
This commit is contained in:
parent
5158f65810
commit
31e8e418ea
66 changed files with 566 additions and 294 deletions
|
@ -103,6 +103,10 @@ impl ServoUrl {
|
|||
scheme == "about" || scheme == "blob" || scheme == "data"
|
||||
}
|
||||
|
||||
pub fn chrome_rules_enabled(&self) -> bool {
|
||||
self.is_chrome()
|
||||
}
|
||||
|
||||
pub fn is_chrome(&self) -> bool {
|
||||
self.scheme() == "chrome"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue