Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f2c9beb2a7075b5f38c30f5cd2fa9f00f4018c03
      
https://github.com/WebKit/WebKit/commit/f2c9beb2a7075b5f38c30f5cd2fa9f00f4018c03
  Author: Fujii Hironori <[email protected]>
  Date:   2026-05-17 (Sun, 17 May 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/loader/DocumentLoader.cpp

  Log Message:
  -----------
  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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to