[Webkit-unassigned] [Bug 174672] WebDriver: implement page load timeout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 20 05:02:16 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174672

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #315982|                            |review?
              Flags|                            |

--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 315982

  --> https://bugs.webkit.org/attachment.cgi?id=315982&action=review

Patch

Note that this fixes testShouldTimeoutOnPageLoadTakingTooLong but not testClickShouldTimeout. The wait after a click is racy. Right after the click happens in the UI process, the page load hasn't started yet, so we can't start the wait there like we do with navigation commands, and when the command returns and thr web driver asks the browser to wait, the load has already happened.  I don't think it's possible to solve that, and I don't think it's worth it either, since the test case is actually testing a very weird case (very small timeout and very fast load).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170720/a0cc2728/attachment.html>


More information about the webkit-unassigned mailing list