#include "third_party/blink/renderer/core/html/custom/custom_element_registry.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/web_custom_element.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_css_style_sheet_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_element_definition_options.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_shadow_root_init.h"
#include "third_party/blink/renderer/core/css/style_sheet_contents.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/custom/ce_reactions_scope.h"
#include "third_party/blink/renderer/core/html/custom/custom_element.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_definition.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_definition_builder.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_descriptor.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_test_helpers.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/testing/null_execution_context.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_forbidden_scope.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
namespace blink {
class CustomElementRegistryTest : public ::testing::Test { … };
TEST_F(CustomElementRegistryTest,
collectCandidates_shouldNotIncludeElementsRemovedFromDocument) { … }
TEST_F(CustomElementRegistryTest,
collectCandidates_shouldNotIncludeElementsInDifferentDocument) { … }
TEST_F(CustomElementRegistryTest,
collectCandidates_shouldOnlyIncludeCandidatesMatchingDescriptor) { … }
TEST_F(CustomElementRegistryTest, collectCandidates_oneCandidate) { … }
TEST_F(CustomElementRegistryTest, collectCandidates_shouldBeInDocumentOrder) { … }
class LogUpgradeDefinition : public TestCustomElementDefinition { … };
class LogUpgradeBuilder final : public TestCustomElementDefinitionBuilder { … };
TEST_F(CustomElementRegistryTest, define_upgradesInDocumentElements) { … }
TEST_F(CustomElementRegistryTest, attributeChangedCallback) { … }
TEST_F(CustomElementRegistryTest, disconnectedCallback) { … }
TEST_F(CustomElementRegistryTest, adoptedCallback) { … }
TEST_F(CustomElementRegistryTest, lookupCustomElementDefinition) { … }
TEST_F(CustomElementRegistryTest, DefineEmbedderCustomElements) { … }
TEST_F(CustomElementRegistryTest, DisallowedEmbedderCustomElements) { … }
}