mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -85,6 +85,7 @@ impl Permissions {
|
|||
// https://w3c.github.io/permissions/#dom-permissions-query
|
||||
// https://w3c.github.io/permissions/#dom-permissions-request
|
||||
// https://w3c.github.io/permissions/#dom-permissions-revoke
|
||||
#[allow(non_snake_case)]
|
||||
fn manipulate(
|
||||
&self,
|
||||
op: Operation,
|
||||
|
@ -199,6 +200,7 @@ impl Permissions {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl PermissionsMethods for Permissions {
|
||||
// https://w3c.github.io/permissions/#dom-permissions-query
|
||||
fn Query(&self, cx: JSContext, permissionDesc: *mut JSObject) -> Rc<Promise> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue