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
@@ -107,9 +107,9 @@ void ResizeObserver::disconnect()
|
||||
void ResizeObserver::invoke_callback(ReadonlySpan<GC::Ref<ResizeObserverEntry>> entries) const
|
||||
{
|
||||
auto& callback = *m_callback;
|
||||
auto& realm = callback.callback_context;
|
||||
auto& settings_object = callback.callback_context;
|
||||
|
||||
auto wrapped_records = MUST(JS::Array::create(realm, 0));
|
||||
auto wrapped_records = MUST(JS::Array::create(settings_object->realm(), 0));
|
||||
for (size_t i = 0; i < entries.size(); ++i) {
|
||||
auto& record = entries.at(i);
|
||||
auto property_index = JS::PropertyKey { i };
|
||||
|
||||
Reference in New Issue
Block a user