[Webkit-unassigned] [Bug 281747] REGRESSION(285310 at main): [GTK] Broke WPT tests with WebDriver.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 19 18:42:20 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=281747
--- Comment #9 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to Carlos Alberto Lopez Perez from comment #7)
> I think I know what causes that error of `Exception: the window remained
> open after sending the window close command` that comes from WPT.
>
>
> I was checking to run tests now with webkitgtk and WPT and I noticed that
> sometimes when the minibrowser window opens to start a test then two tabs
> appear on it
> - One that says "MainThread" and is empty, and with the webinspector I can
> see it has
> window.location.href==http://web-platform.test:8000/testharness_runner.html
> - Another one with the WPT test itself
>
> And the one that is focused is the "MainThread" one
>
> See screenshot:
> https://people.igalia.com/clopez/wkbug/281747/minibrowser_wpt_tabs.png
>
> So if you do nothing then the test timeouts.
>
> But if you focus or click on the tab with the WPT test then it passes.
> Alternatively if you close the MainThread tab (which forces a focus on the
> other one) also passes.
>
>
> This easily reproducible running several times the acid tests (because those
> have a higher timeout value and allows you to check things before the wpt
> timeout triggers)
>
> Run the command below several times until you find this MainThread tab on
> one of the MiniBrowsers that oppen and then see how it timeouts unless you
> focus the tab with the tests
>
> ./wpt run --log-mach=- --install-browser -y webkitgtk_minibrowser acid
I think WebKitGTK MiniBrowser has an issue with the focus of new tabs that WPT now uses by default.
IIRC previously WPT was opening new windows instead of new tabs when starting a new test
I reported the issue here https://bugs.webkit.org/show_bug.cgi?id=283392 along with a simplified test case
--
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/6ba01fee/attachment.htm>
More information about the webkit-unassigned
mailing list