Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d4dbea574aed88c1fcff4ffdf4855d826178e87c
https://github.com/WebKit/WebKit/commit/d4dbea574aed88c1fcff4ffdf4855d826178e87c
Author: Claudio Saavedra <[email protected]>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKit/WKPage/CloseFromWithinCreatePage.cpp
Log Message:
-----------
REGRESSION(320449@main): [GLib] API tests WebKit.CloseFromWithinCreatePage
and WebKit.CreatePageThenDocumentOpenMIMEType time out
https://bugs.webkit.org/show_bug.cgi?id=323733
Reviewed by Fujii Hironori.
320449@main added these tests to the CMake build, so they run on the GTK and
WPE ports for the first time. Both load a page whose onload handler calls
window.open() and wait for an alert from the opened page. On GTK and WPE the
JavaScriptCanOpenWindowsAutomatically preference defaults to false, unlike on
macOS, so the call is rejected for lack of a user gesture, the UI client is
never asked to create the page and the tests wait forever.
Enable the preference explicitly, as the tests already do for universal access
from file URLs.
* Tools/TestWebKitAPI/Tests/WebKit/WKPage/CloseFromWithinCreatePage.cpp:
(TestWebKitAPI::TEST(WebKit, CloseFromWithinCreatePage)):
(TestWebKitAPI::TEST(WebKit, CreatePageThenDocumentOpenMIMEType)):
Canonical link: https://commits.webkit.org/320719@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications