mirror of
https://github.com/servo/servo.git
synced 2025-09-10 23:18:20 +01:00
Update web-platform-tests to revision 6b6163867ad474d977778a3f19c378a05a4851dc
This commit is contained in:
parent
3ebd42caa3
commit
498854a0e4
49 changed files with 587 additions and 173 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue