Update web-platform-tests to revision 6b6163867ad474d977778a3f19c378a05a4851dc

This commit is contained in:
WPT Sync Bot 2019-01-04 21:10:25 -05:00
parent 3ebd42caa3
commit 498854a0e4
49 changed files with 587 additions and 173 deletions

View file

@ -566,7 +566,7 @@ class Session(object):
@command
def close(self):
handles = self.send_session_command("DELETE", "window")
if len(handles) == 0:
if handles is not None and len(handles) == 0:
# With no more open top-level browsing contexts, the session is closed.
self.session_id = None