mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Remove ShadowRealm HTML integration
This commit is contained in:
committed by
Shannon Booth
parent
f27bc38aa7
commit
bb0f244667
Notes:
github-actions[bot]
2026-04-05 11:58:52 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/bb0f244667d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8753
@@ -657,9 +657,9 @@ void EventLoop::unregister_document(Badge<DOM::Document>, DOM::Document& documen
|
||||
VERIFY(did_remove);
|
||||
}
|
||||
|
||||
void EventLoop::push_onto_backup_incumbent_realm_stack(JS::Realm& realm)
|
||||
void EventLoop::push_onto_backup_incumbent_realm_stack(GC::Ref<EnvironmentSettingsObject> environment_settings_object)
|
||||
{
|
||||
m_backup_incumbent_realm_stack.append(realm);
|
||||
m_backup_incumbent_realm_stack.append(environment_settings_object);
|
||||
}
|
||||
|
||||
void EventLoop::pop_backup_incumbent_realm_stack()
|
||||
@@ -667,7 +667,7 @@ void EventLoop::pop_backup_incumbent_realm_stack()
|
||||
m_backup_incumbent_realm_stack.take_last();
|
||||
}
|
||||
|
||||
JS::Realm& EventLoop::top_of_backup_incumbent_realm_stack()
|
||||
EnvironmentSettingsObject& EventLoop::top_of_backup_incumbent_realm_stack()
|
||||
{
|
||||
return m_backup_incumbent_realm_stack.last();
|
||||
}
|
||||
@@ -741,7 +741,7 @@ EventLoop::PauseHandle EventLoop::pause()
|
||||
m_execution_paused = true;
|
||||
|
||||
// 1. Let global be the current global object.
|
||||
auto& global = current_principal_global_object();
|
||||
auto& global = current_global_object();
|
||||
|
||||
// 2. Let timeBeforePause be the current high resolution time given global.
|
||||
auto time_before_pause = HighResolutionTime::current_high_resolution_time(global);
|
||||
|
||||
Reference in New Issue
Block a user