bug 1505806: webdriver: throttle window rect calls; r=whimboo
authorAndreas Tolfsen <ato@sny.no>
Fri, 09 Nov 2018 10:54:16 +0000
changeset 445394 0320a28c61636bb240602ac28caf077480ba5b68
parent 445393 98ba957299107711169ca5a1a340838538330492
child 445395 d67038338e2f736261b745a3f7e0417a0cd54635
push id35015
push userdluca@mozilla.com
push dateFri, 09 Nov 2018 17:45:20 +0000
treeherdermozilla-central@2f1158e5e0ce [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhimboo
bugs1505806, 10055
milestone65.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 1505806: webdriver: throttle window rect calls; r=whimboo By throttling the Get Window Rect calls we avoid the buffer filling up on Windows, and avoid errors such as: [Errno 10055] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full Differential Revision: https://phabricator.services.mozilla.com/D11410
testing/web-platform/meta/webdriver/tests/maximize_window/stress.py.ini
testing/web-platform/tests/webdriver/tests/maximize_window/stress.py
deleted file mode 100644
--- a/testing/web-platform/meta/webdriver/tests/maximize_window/stress.py.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[stress.py]
-  disabled:
-    if (os == "win"): https://bugzilla.mozilla.org/show_bug.cgi?id=1505806
--- a/testing/web-platform/tests/webdriver/tests/maximize_window/stress.py
+++ b/testing/web-platform/tests/webdriver/tests/maximize_window/stress.py
@@ -35,8 +35,9 @@ def test_stress(session, i):
     original_size = session.window.size
 
     size_after_maximize = maximize_window(session)
     assert size_after_maximize > original_size
 
     t_end = time.time() + 3
     while time.time() < t_end:
         assert session.window.size == size_after_maximize
+        time.sleep(.1)