Bug 1455282 - [wdspec] Ignore exceptions when switching to top-level browsing context. r=ato
☠☠ backed out by c4027f932a52 ☠ ☠
authorHenrik Skupin <mail@hskupin.info>
Mon, 23 Apr 2018 23:37:31 +0200
changeset 471332 843cb0cb835e31fb6aa1719617e23770129e39ba
parent 471331 703161d003be4e511e2325286d065f346c2c6c08
child 471333 295fd2df534f6a5f59f9d620be955a3e70ade74b
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1455282
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1455282 - [wdspec] Ignore exceptions when switching to top-level browsing context. r=ato MozReview-Commit-ID: H8fzguZ66ZC
testing/web-platform/tests/webdriver/tests/support/fixtures.py
--- a/testing/web-platform/tests/webdriver/tests/support/fixtures.py
+++ b/testing/web-platform/tests/webdriver/tests/support/fixtures.py
@@ -71,16 +71,17 @@ def _restore_windows(session):
     for window in _windows(session, exclude=[current_window]):
         session.window_handle = window
         if len(session.handles) > 1:
             session.close()
 
     session.window_handle = current_window
 
 
+@ignore_exceptions
 def _switch_to_top_level_browsing_context(session):
     """If the current browsing context selected by WebDriver is a
     `<frame>` or an `<iframe>`, switch it back to the top-level
     browsing context.
     """
     session.switch_frame(None)