Closed Bug 1496432 Opened Last year Closed Last year
_driver’s explicit wait class
The Marionette Python client has a pretty good implementation of a poll-wait utility in https://searchfox.org/mozilla-central/source/testing/marionette/client/marionette_driver/wait.py. It is my personal opinion that it is superior to https://searchfox.org/mozilla-central/source/testing/web-platform/tests/webdriver/tests/support/wait.py used in WPT. This bug is to upstream our version of the explicit wait utility to WPT.
Actually it turns out I need this for https://bugzilla.mozilla.org/show_bug.cgi?id=1492499.
Assignee: nobody → ato
Status: NEW → ASSIGNED
Priority: P3 → P1
"sync", short for synchronisation, is a better name for a primitive to reconcile state between the local and remote ends.
Mozilla's implementation of the explicit poll-waiting routine is vastly superior to the one used by WPT. This patch upstreams testing/marionette/client/marionette_driver/wait.py to WPT. Depends on D7735
Attachment #9014440 - Attachment description: bug 1496432: rename support.wait to sync; → bug 1496432: webdriver: rename support.wait to sync;
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/330058affbc3 webdriver: rename support.wait to sync; r=whimboo https://hg.mozilla.org/integration/autoland/rev/26607bdd2fbf webdriver: use mozilla poll utility; r=whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13401 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks: Github PR https://github.com/web-platform-tests/wpt/pull/13401 * continuous-integration/travis-ci/pr (https://travis-ci.org/web-platform-tests/wpt/builds/437766788?utm_source=github_status&utm_medium=notification) * Taskcluster (pull_request) (https://tools.taskcluster.net/task-group-inspector/#/JDrP5-l9QfObRXx-YfOh1A)
Upstream PR merged
You need to log in before you can comment on or make changes to this bug.