[Webkit-unassigned] [Bug 218383] WebDriver: do not focus the main frame when switching to a window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 4 12:02:07 PST 2020


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

James Graham <james at hoppipolla.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |james at hoppipolla.co.uk

--- Comment #3 from James Graham <james at hoppipolla.co.uk> ---
So. We recently refactored the spec here and afaict per the current text, switch to window does reset the frame; it calls [1] which unconditionally sets the current browsing context.

But I can't tell you if that's actually the correct behaviour here; if it doesn't match browsers we should possibly change it to be a no-op if the window doesn't change (the refactor was intended to ensure we didn't fail commands in lots of cases where a frame was closed and the top level context was still open).

The infra test could well be wrong.

[1] https://w3c.github.io/webdriver/#dfn-set-the-current-top-level-browsing-context

-- 
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/20201104/5dfba69d/attachment.htm>


More information about the webkit-unassigned mailing list