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

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

Issue 2066813003: Revert of Implement script-side of callback reactions for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback-ce
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 da2245a69f8079d9bbb4d32740889534d396ee82..10b013e3b67970222b1a9c107a09862fcb14fbe4 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
@@ -267,9 +267,6 @@
LogUpgradeDefinition(const CustomElementDescriptor& descriptor)
: TestCustomElementDefinition(descriptor)
{
- m_observedAttributes.add("attr1");
- m_observedAttributes.add("attr2");
- m_observedAttributes.add(HTMLNames::contenteditableAttr.localName());
}
DEFINE_INLINE_VIRTUAL_TRACE()
@@ -311,6 +308,7 @@
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
{
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698