mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Silence a warning in ExtendableEvent::WaitUntil
This commit is contained in:
parent
236c687b66
commit
fe4f3543c1
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ impl ExtendableEvent {
|
|||
}
|
||||
|
||||
// https://w3c.github.io/ServiceWorker/#wait-until-method
|
||||
pub fn WaitUntil(&self, _cx: *mut JSContext, val: HandleValue) -> ErrorResult {
|
||||
pub fn WaitUntil(&self, _cx: *mut JSContext, _val: HandleValue) -> ErrorResult {
|
||||
// Step 1
|
||||
if !self.extensions_allowed {
|
||||
return Err(Error::InvalidState);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue