LibWeb: Remove ShadowRealm HTML integration

This commit is contained in:
Shannon Booth
2026-04-03 18:12:46 +02:00
committed by Shannon Booth
parent f27bc38aa7
commit bb0f244667
Notes: github-actions[bot] 2026-04-05 11:58:52 +00:00
71 changed files with 469 additions and 683 deletions

View File

@@ -205,7 +205,7 @@ ErrorOr<void> WebSocket::establish_web_socket_connection(URL::URL const& url_rec
auto additional_headers = HTTP::HeaderList::create();
auto cookies = ([&] {
auto& page = Bindings::principal_host_defined_page(HTML::principal_realm(realm()));
auto& page = Bindings::principal_host_defined_page(realm());
return page.client().page_did_request_cookie(url_record, HTTP::Cookie::Source::Http).cookie;
})();