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

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

Issue 2838123002: Count element name validity per DOM versus HTML parsing. (Closed)
Patch Set: Do not need the attribute counting. Created 3 years, 8 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/CustomElementTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
index a708592b20366830999d3ae3a77e14b30ca27418..dc7f3e358467522cfe6f905dbe8b4d861fa74ca1 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
@@ -189,13 +189,13 @@ TEST(CustomElementTest, StateByCreateElement) {
EXPECT_EQ(data.state, element->GetCustomElementState()) << data.name;
EXPECT_EQ(data.v0state, element->GetV0CustomElementState()) << data.name;
- element = document.createElementNS(HTMLNames::xhtmlNamespaceURI, data.name,
- ASSERT_NO_EXCEPTION);
+ element = document.createElementNS(nullptr, HTMLNames::xhtmlNamespaceURI,
+ data.name, ASSERT_NO_EXCEPTION);
EXPECT_EQ(data.state, element->GetCustomElementState()) << data.name;
EXPECT_EQ(data.v0state, element->GetV0CustomElementState()) << data.name;
- element = document.createElementNS(SVGNames::svgNamespaceURI, data.name,
- ASSERT_NO_EXCEPTION);
+ element = document.createElementNS(nullptr, SVGNames::svgNamespaceURI,
+ data.name, ASSERT_NO_EXCEPTION);
EXPECT_EQ(CustomElementState::kUncustomized,
element->GetCustomElementState())
<< data.name;

Powered by Google App Engine
This is Rietveld 408576698