Bug 1719632 [wpt PR 29606] - Use container elements to switch frames for testdriver...
commit5040dfd26b4aaa2f48cf8e849228d0c10d3c85fd
authorJames Graham <james@hoppipolla.co.uk>
Fri, 30 Jul 2021 22:11:15 +0000 (30 22:11 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 31 Jul 2021 09:22:12 +0000 (31 09:22 +0000)
tree7805905c5a7a773ca4dfd33a6dab7a17e977dc2d
parenta22f57e2275d7ba9b50153b9c98e800aa6d16b84
Bug 1719632 [wpt PR 29606] - Use container elements to switch frames for testdriver rather than indices, a=testonly

Automatic update from web-platform-tests
Use container elements to select frames for testdriver switch_to_frame

The previous setup used two execute_script calls and the length of
window.frames to iterate over child crosing contexts. This failed if
an iframe was removed in a way that races with the click. Element
identifiers should be more stable since they are unaffected by other
DOM manipulation.

--
Change webdriver imports in executorwebdriver

I'm actually unsure if this was working correctly before; the use of
client.WebDriverException and subclasses doesn't look like it ought to
work given client.py doesn't import those.

--

wpt-commits: d846ad02866ed966cf3e2123d6bacb2f7bdc73b7e6bc8ae0357ddaabf554c3c04ef1630bb2370a05
wpt-pr: 29606
testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py
testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorwebdriver.py
testing/web-platform/tests/tools/wptrunner/wptrunner/executors/protocol.py