Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp

Issue 2060753002: Implement script-side of callback reactions for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback-ce
Patch Set: enqueueAttributeChangedCallbackForAllAttributes and test fixes Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
index a669cec94f5160648341465ff45231c8442c367a..db1c49df5b8ecefcd296a2b78e9df3e63a01d124 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
@@ -257,6 +257,9 @@ public:
LogUpgradeDefinition(const CustomElementDescriptor& descriptor)
: TestCustomElementDefinition(descriptor)
{
+ m_observedAttributes.add("attr1");
+ m_observedAttributes.add("attr2");
+ m_observedAttributes.add(HTMLNames::contenteditableAttr.localName());
}
DEFINE_INLINE_VIRTUAL_TRACE()
@@ -298,7 +301,6 @@ public:
bool hasConnectedCallback() const override { return true; }
bool hasDisconnectedCallback() const override { return true; }
- bool hasAttributeChangedCallback(const QualifiedName&) const override { return true; }
void runConnectedCallback(Element* element) override
{

Powered by Google App Engine
This is Rietveld 408576698