Files
ladybird/Libraries/LibIPC/TransportHandle.cpp
Jonathan Gamble c61066c0ae LibIPC: Dont VERIFY when encoding placeholder TransportHandles
Empty transport handles can be generated in a few places in Ladybird
sources, notably in WebContentClient::request_worker_agent when
view_for_page_id finds nothing.

If those handles reach encode, a VERIFY is triggered in the broker
process. An page lookup failure should not be fatal to the browser, so
I'll boldly assert it is better to return an error here.

This failure was observed during large runs of origin and IndexedDB
heavy wpt tests in test-web.
2026-04-29 01:07:11 +02:00

2.8 KiB