Update web-platform-tests to revision e3cf1284464a4a3e46fd15e4138f8e32c6cecdd8

This commit is contained in:
WPT Sync Bot 2019-04-18 21:48:35 -04:00
parent b20333a324
commit c5c325d8bb
57 changed files with 1422 additions and 493 deletions

View file

@ -6,7 +6,7 @@ import zipfile
from io import BytesIO
try:
from typing import Any
from typing import Any, Callable
except ImportError:
pass
@ -17,10 +17,11 @@ class Kwargs(dict):
def set_if_none(self,
name, # type: str
value, # type: Any
err_fn=None, # type: (Kwargs, str) -> Any
err_fn=None, # type: Callable[[Kwargs, str], Any]
desc=None, # type: str
extra_cond=None # type: (Kwargs) -> bool
extra_cond=None # type: Callable[[Kwargs], Any]
):
# type: (...) -> Any
if desc is None:
desc = name