mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb/HTML: Add cross-site ancestor flag to environment
Corresponds to baec061a70
This commit is contained in:
Notes:
github-actions[bot]
2025-08-11 11:23:58 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/4bcfc4bacc5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5763
@@ -99,6 +99,9 @@ public:
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin
|
||||
virtual URL::Origin origin() const = 0;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-has-cross-site-ancestor
|
||||
virtual bool has_cross_site_ancestor() const = 0;
|
||||
|
||||
// A policy container https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-policy-container
|
||||
virtual GC::Ref<PolicyContainer> policy_container() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user