raise exception PageInterstitialShown

This commit is contained in:
Barbara Miller 2018-09-20 17:22:52 -07:00
parent 66936c67cc
commit 86193a525b

View File

@ -244,8 +244,11 @@ class WebsockReceiverThread(threading.Thread):
# AITFIVE-1529: handle http auth
# we should kill the browser when we receive Page.interstitialShown and
# consider the page finished, until this is fixed: https://bugs.chromium.org/p/chromium/issues/detail?id=764505
self.logger.info('Page.interstitialShown received: likely http auth request, currently unsupported')
brozzler.thread_raise(self.calling_thread, BrowsingException)
self.page_interstitial_shown = brozzler.PageInterstitialShown(
warcprox_meta=None)
self.logger.info('Page.interstialShown (likely http auth request) %s', self.page_interstitial_shown)
brozzler.thread_raise(
self.calling_thread, brozzler.PageInterstitialShown)
elif message['method'] == 'Inspector.targetCrashed':
self.logger.error(
'''chrome tab went "aw snap" or "he's dead jim"!''')