mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Permitted functions to have too many arguments in components/script/dom (#33632)
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
This commit is contained in:
parent
43d559a1c2
commit
986c3a38a3
8 changed files with 8 additions and 0 deletions
|
@ -71,6 +71,7 @@ impl HashChangeEvent {
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
window: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -66,6 +66,7 @@ impl MediaQueryListEvent {
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -112,6 +112,7 @@ impl MessageEvent {
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_initialized(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -65,6 +65,7 @@ impl PromiseRejectionEvent {
|
|||
}
|
||||
|
||||
#[allow(crown::unrooted_must_root)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -70,6 +70,7 @@ impl UIEvent {
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
window: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -59,6 +59,7 @@ impl XRInputSourceEvent {
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -62,6 +62,7 @@ impl XRReferenceSpaceEvent {
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
|
@ -78,6 +78,7 @@ impl XRWebGLLayer {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue