mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Update web-platform-tests to revision e2ac2e7d7539c4eb9963b7f23dbb3f7692fce537
This commit is contained in:
parent
e6e00cb554
commit
59ef536d5e
120 changed files with 1207 additions and 3167 deletions
|
@ -158,10 +158,9 @@ class MarionetteTestharnessProtocolPart(TestharnessProtocolPart):
|
|||
|
||||
for handle in handles:
|
||||
try:
|
||||
self.dismiss_alert(lambda: self.marionette.switch_to_window(handle))
|
||||
self.marionette.switch_to_window(handle)
|
||||
self.logger.info("Closing window %s" % handle)
|
||||
self.marionette.close()
|
||||
self.marionette.switch_to_window(handle)
|
||||
self.dismiss_alert(lambda: self.marionette.close())
|
||||
except errors.NoSuchWindowException:
|
||||
# We might have raced with the previous test to close this
|
||||
# window, skip it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue