[Webkit-unassigned] [Bug 198741] New: waitForNavigationToComplete may be called before WebPageProxy knows it's loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 21:58:38 PDT 2019


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

            Bug ID: 198741
           Summary: waitForNavigationToComplete may be called before
                    WebPageProxy knows it's loading
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: bburg at apple.com

If the timing of the communications to the `WebPageProxy` about the fact that it's actually `PageLoadingState::isLoading` is too "slow" or happens after `WebAutomationSession::waitForNavigationToCompleteOnPage` is called, the automation session will continue running commands, which can lead to a JavaScript error ("Callback was not called before the unload event") as any injected scripts will be cleared by the impending navigation, leaving the script evaluation callbacks "dangling".

-- 
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/20190611/9915bed5/attachment.html>


More information about the webkit-unassigned mailing list