| 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 c22db95903d2186c4b0630dc264177ca113cd4aa..96321e13cc3ce80232d24c1a4d4ea8c3d0e5be7d 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
|
| @@ -290,6 +290,7 @@ public:
|
| Constructor,
|
| ConnectedCallback,
|
| DisconnectedCallback,
|
| + AdoptedCallback,
|
| AttributeChangedCallback,
|
| };
|
| Vector<MethodType> m_logs;
|
| @@ -316,6 +317,7 @@ public:
|
|
|
| bool hasConnectedCallback() const override { return true; }
|
| bool hasDisconnectedCallback() const override { return true; }
|
| + bool hasAdoptedCallback() const override {return true;}
|
|
|
| void runConnectedCallback(Element* element) override
|
| {
|
| @@ -329,6 +331,12 @@ public:
|
| EXPECT_EQ(element, m_element);
|
| }
|
|
|
| + void runAdoptedCallback(Element* element) override
|
| + {
|
| + m_logs.append(AdoptedCallback);
|
| + EXPECT_EQ(element, m_element);
|
| + }
|
| +
|
| void runAttributeChangedCallback(Element* element, const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue) override
|
| {
|
| m_logs.append(AttributeChangedCallback);
|
|
|