mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +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
@@ -1124,7 +1124,6 @@ GC::Ptr<WindowProxy const> Window::parent() const
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-frameelement
|
||||
// https://whatpr.org/html/9893/nav-history-apis.html#dom-frameelement
|
||||
GC::Ptr<DOM::Element const> Window::frame_element() const
|
||||
{
|
||||
// 1. Let current be this's node navigable.
|
||||
@@ -1141,8 +1140,8 @@ GC::Ptr<DOM::Element const> Window::frame_element() const
|
||||
if (!container)
|
||||
return {};
|
||||
|
||||
// 5. If container's node document's origin is not same origin-domain with the current principal settings object's origin, then return null.
|
||||
if (!container->document().origin().is_same_origin_domain(current_principal_settings_object().origin()))
|
||||
// 5. If container's node document's origin is not same origin-domain with the current settings object's origin, then return null.
|
||||
if (!container->document().origin().is_same_origin_domain(current_settings_object().origin()))
|
||||
return {};
|
||||
|
||||
// 6. Return container.
|
||||
|
||||
Reference in New Issue
Block a user