#include "third_party/blink/renderer/bindings/core/v8/v8_element_internals.h"
#include "third_party/blink/public/mojom/origin_trial_feature/origin_trial_feature.mojom-shared.h"
#include "third_party/blink/renderer/bindings/core/v8/frozen_array.h"
#include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_custom_state_set.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_element.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_file.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_form_data.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_html_element.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_html_form_element.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_node_list.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_set_return_value_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_shadow_root.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_file_formdata_usvstring.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_validity_state.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_validity_state_flags.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/node_list.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/fileapi/file.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html/custom/ce_reactions_scope.h"
#include "third_party/blink/renderer/core/html/custom/custom_state_set.h"
#include "third_party/blink/renderer/core/html/custom/element_internals.h"
#include "third_party/blink/renderer/core/html/forms/form_data.h"
#include "third_party/blink/renderer/core/html/forms/html_form_element.h"
#include "third_party/blink/renderer/core/html/forms/validity_state.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/idl_member_installer.h"
#include "third_party/blink/renderer/platform/bindings/runtime_call_stats.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
bool V8ElementInternals::IsExposed(ExecutionContext* execution_context) { … }
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
const WrapperTypeInfo V8ElementInternals::wrapper_type_info_{ … };
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic pop
#endif
const WrapperTypeInfo& ElementInternals::wrapper_type_info_ = …;
static_assert …;
namespace {
namespace v8_element_internals {
void FormAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void WillValidateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ValidityAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ValidationMessageAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void LabelsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void StatesAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ShadowRootAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RoleAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RoleAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaAtomicAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaAtomicAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaAutoCompleteAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaAutoCompleteAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaBusyAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaBusyAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaBrailleLabelAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaBrailleLabelAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaBrailleRoleDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaBrailleRoleDescriptionAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaCheckedAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaCheckedAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColCountAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColCountAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColIndexAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColIndexAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColIndexTextAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColIndexTextAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColSpanAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaColSpanAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaCurrentAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaCurrentAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDescriptionAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDisabledAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDisabledAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaExpandedAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaExpandedAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaHasPopupAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaHasPopupAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaHiddenAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaHiddenAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaInvalidAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaInvalidAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaKeyShortcutsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaKeyShortcutsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLabelAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLabelAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLevelAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLevelAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLiveAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLiveAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaModalAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaModalAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaMultiLineAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaMultiLineAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaMultiSelectableAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaMultiSelectableAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaOrientationAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaOrientationAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaPlaceholderAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaPlaceholderAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaPosInSetAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaPosInSetAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaPressedAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaPressedAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaReadOnlyAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaReadOnlyAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRelevantAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRelevantAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRequiredAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRequiredAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRoleDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRoleDescriptionAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowCountAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowCountAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowIndexAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowIndexAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowIndexTextAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowIndexTextAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowSpanAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaRowSpanAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaSelectedAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaSelectedAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaSetSizeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaSetSizeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaSortAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaSortAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueMaxAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueMaxAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueMinAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueMinAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueNowAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueNowAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueTextAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaValueTextAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaVirtualContentAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaVirtualContentAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaActiveDescendantElementAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaActiveDescendantElementAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaControlsElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaControlsElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDescribedByElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDescribedByElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDetailsElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaDetailsElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaErrorMessageElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaErrorMessageElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaFlowToElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaFlowToElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLabelledByElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaLabelledByElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaOwnsElementsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AriaOwnsElementsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CheckValidityOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ReportValidityOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetFormValueOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetValidityOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
}
usingnamespacev8_element_internals;
}
void V8ElementInternals::InstallInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> interface_template) { … }
void V8ElementInternals::InstallUnconditionalProperties(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> instance_template, v8::Local<v8::Template> prototype_template, v8::Local<v8::Template> interface_template) { … }
void V8ElementInternals::InstallContextIndependentProperties(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> instance_template, v8::Local<v8::Template> prototype_template, v8::Local<v8::Template> interface_template) { … }
}