[Webkit-unassigned] [Bug 283392] New: [GTK] MiniBrowser does not focus the tabs when asked via WebDriver

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 19 18:37:50 PST 2024


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

            Bug ID: 283392
           Summary: [GTK] MiniBrowser does not focus the tabs when asked
                    via WebDriver
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org, cgarcia at igalia.com,
                    lmoura at igalia.com

This is related to bug 281747

Digging into that issue I have discovered that WebKitGTK MiniBrowser does not focus a new opened tab when requested.

I attach a test program that basically does this:

1. Start MiniBrowser via WebDriver
2. Navigate to wpewebkit.org
3. Open a new tab
4. Switch that tab to be the active window handler
5. Navigate on that new tab to webkitgtk.org


Expected behavior: the new opened tab is visible and you can see webkitgtk.org
Current behavior: the new opened tab is keept on the background and it loads webkitgtk.org but is never focused


This test program can be also used with the wpewebkit minibrowser and there the behavior is the one expected (likely because there are no support for tab) and with chrome and it behaves as expected


In order to run this test program you first have to start the corresponding driver (WebKitWebDriver, WPEWebDriver or chromedriver) on port 4444

And then run the test program.

The program also prints debug information about the current status of the active page. In the case of WebKitGTK MiniBrowser the visibility for the new tab is "hidden" meanwhile that for the other browsers is "visible"

-- 
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/20241120/995d54a6/attachment.htm>


More information about the webkit-unassigned mailing list