Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 488eba4eb206406dfa39ea0b60a27b59380921df
https://github.com/WebKit/WebKit/commit/488eba4eb206406dfa39ea0b60a27b59380921df
Author: Fujii Hironori <[email protected]>
Date: 2026-07-04 (Sat, 04 Jul 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WebCore/loader/DocumentLoader.cpp
Log Message:
-----------
Cherry-pick 313392@main (f2c9beb2a707).
https://bugs.webkit.org/show_bug.cgi?id=255748
ASSERTION FAILED: !mainResourceLoader() ||
!mainResourceLoader()->defersLoading()
https://bugs.webkit.org/show_bug.cgi?id=255748
Reviewed by Claudio Saavedra.
Some assertions in DocumentLoader failed for some layout tests using
showModalDialog. Those assertions ensured that the loading doesn't proceed
while it defers loading. Those assertions were added for Chromium port.
Apple
ports have disabled the assertions. And, in WebKit2,
WebLoaderStrategy::setDefersLoading() does nothing. Those assertions are no
longer needed. Removed them.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::mainReceivedError):
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::responseReceived):
(WebCore::DocumentLoader::dataReceived):
Canonical link: https://commits.webkit.org/313392@main
Canonical link: https://commits.webkit.org/305877.942@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications