mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +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
|
// 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
|
// Step 1
|
||||||
if !self.extensions_allowed {
|
if !self.extensions_allowed {
|
||||||
return Err(Error::InvalidState);
|
return Err(Error::InvalidState);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue