[Webkit-unassigned] [Bug 217217] New: WebDriver: several issues when switching to new browser context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 2 04:37:32 PDT 2020


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

            Bug ID: 217217
           Summary: WebDriver: several issues when switching to new
                    browser context
           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: cgarcia at igalia.com
                CC: aperez at igalia.com, bburg at apple.com, clopez at igalia.com
            Blocks: 166679

There are several issues to fix when switching to a browser context:

 1- The spec has changed and now we should always keep the current parent browsing context.
 2- The spec says we should focus the new frame after switching to a frame or parent frame, but we are just resolving the frame and updating the handle internally.
 3- We are keeping stale frame handles and ids in the automation session, they should be removed when frames are destroyed.
 4- We are clearing all frame references in the automation session when a navigation happens in any main frame. We should only clear the frames of the page that completed the navigation.

All theses cases are covered by new tests added to imported/w3c/webdriver/tests/switch_to_parent_frame/


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=166679
[Bug 166679] [GTK][META] WebDriver implementation
-- 
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/20201002/8bd859e7/attachment-0001.htm>


More information about the webkit-unassigned mailing list