2022-03-08 19:32:35 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <LibJS/Forward.h>
|
|
|
|
#include <LibWeb/Forward.h>
|
|
|
|
|
|
|
|
namespace Web::HTML {
|
|
|
|
|
|
|
|
// https://html.spec.whatwg.org/multipage/origin.html#accessor-accessed-relationship
|
|
|
|
enum class AccessorAccessedRelationship {
|
|
|
|
AccessorIsOpener,
|
|
|
|
AccessorIsOpenee,
|
|
|
|
None,
|
|
|
|
};
|
|
|
|
|
2025-05-30 00:34:50 +02:00
|
|
|
void check_if_access_between_two_browsing_contexts_should_be_reported(GC::Ptr<BrowsingContext const> accessor, GC::Ptr<BrowsingContext const> accessed, JS::PropertyKey const&, GC::Ref<EnvironmentSettingsObject const>);
|
2022-03-08 19:32:35 +01:00
|
|
|
|
|
|
|
}
|