mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-24 19:32:07 +03:00
test: Extra info when windows don't destroy quickly
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
98c1bd1b5c
commit
f9b80469e0
@ -464,6 +464,10 @@ class BrowserWindow:
|
||||
while self.alive:
|
||||
self.browser.farmer.loop(once=True)
|
||||
if (time.time() - now) > timeout:
|
||||
print("*** Timed out waiting for window to be destroyed")
|
||||
print("*** URL was: {}".format(self.url))
|
||||
print("*** Title was: {}".format(self.title))
|
||||
print("*** Status was: {}".format(self.status))
|
||||
break
|
||||
|
||||
def go(self, url, referer=None):
|
||||
|
Loading…
Reference in New Issue
Block a user