Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d23f731cb40ba88bd6f4a6aa048bda68c31e90b
      
https://github.com/WebKit/WebKit/commit/5d23f731cb40ba88bd6f4a6aa048bda68c31e90b
  Author: Youenn Fablet <[email protected]>
  Date:   2026-07-25 (Sat, 25 Jul 2026)

  Changed paths:
    M Source/WebKit/WebProcess/Network/WebResourceLoader.cpp
    M Source/WebKit/WebProcess/Network/WebResourceLoader.h

  Log Message:
  -----------
  WebResourceLoader constructor is crashing on GTK bots
rdar://183147333
https://bugs.webkit.org/show_bug.cgi?id=320200

Reviewed by Alex Christensen.

WebResourceLoader data available handler can be synchronously called when set.
We thus adoptRef WebResourceLoader and then set the data available handler.

Covered by existing tests.

* Source/WebKit/WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::create):
(WebKit::WebResourceLoader::WebResourceLoader):
(WebKit::WebResourceLoader::initPendingStreamState):
* Source/WebKit/WebProcess/Network/WebResourceLoader.h:

Canonical link: https://commits.webkit.org/317918@main



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

Reply via email to