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

@@ -97,7 +97,6 @@ void WorkerGlobalScope::close_a_worker()
}
// https://html.spec.whatwg.org/multipage/workers.html#importing-scripts-and-libraries
// https://whatpr.org/html/9893/workers.html#importing-scripts-and-libraries
WebIDL::ExceptionOr<void> WorkerGlobalScope::import_scripts(Vector<String> const& urls, PerformTheFetchHook perform_fetch)
{
// The algorithm may optionally be customized by supplying custom perform the fetch hooks,
@@ -106,8 +105,8 @@ WebIDL::ExceptionOr<void> WorkerGlobalScope::import_scripts(Vector<String> const
// FIXME: 1. If worker global scope's type is "module", throw a TypeError exception.
// 2. Let settings object be the current principal settings object.
auto& settings_object = HTML::current_principal_settings_object();
// 2. Let settings object be the current settings object.
auto& settings_object = HTML::current_settings_object();
// 3. If urls is empty, return.
if (urls.is_empty())