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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/custom/CustomElementRegistry.h" 5 #include "core/dom/custom/CustomElementRegistry.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/V8Binding.h" 9 #include "bindings/core/v8/V8BindingForCore.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/dom/Element.h" 11 #include "core/dom/Element.h"
12 #include "core/dom/ElementDefinitionOptions.h" 12 #include "core/dom/ElementDefinitionOptions.h"
13 #include "core/dom/custom/CEReactionsScope.h" 13 #include "core/dom/custom/CEReactionsScope.h"
14 #include "core/dom/custom/CustomElementDefinition.h" 14 #include "core/dom/custom/CustomElementDefinition.h"
15 #include "core/dom/custom/CustomElementDefinitionBuilder.h" 15 #include "core/dom/custom/CustomElementDefinitionBuilder.h"
16 #include "core/dom/custom/CustomElementDescriptor.h" 16 #include "core/dom/custom/CustomElementDescriptor.h"
17 #include "core/dom/custom/CustomElementTestHelpers.h" 17 #include "core/dom/custom/CustomElementTestHelpers.h"
18 #include "core/dom/shadow/ShadowRoot.h" 18 #include "core/dom/shadow/ShadowRoot.h"
19 #include "core/dom/shadow/ShadowRootInit.h" 19 #include "core/dom/shadow/ShadowRootInit.h"
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 EXPECT_EQ(definition_b, definition); 441 EXPECT_EQ(definition_b, definition);
442 // look up undefined customized built-in element 442 // look up undefined customized built-in element
443 definition = Registry().DefinitionFor(CustomElementDescriptor("a-a", "div")); 443 definition = Registry().DefinitionFor(CustomElementDescriptor("a-a", "div"));
444 EXPECT_EQ(nullptr, definition) << "a-a, div should not be registered"; 444 EXPECT_EQ(nullptr, definition) << "a-a, div should not be registered";
445 } 445 }
446 446
447 // TODO(dominicc): Add tests which adjust the "is" attribute when type 447 // TODO(dominicc): Add tests which adjust the "is" attribute when type
448 // extensions are implemented. 448 // extensions are implemented.
449 449
450 } // namespace blink 450 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698