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

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

Issue 2508793002: Make exceptionState parameter of Document::createElement() to have default value (Closed)
Patch Set: 2016-11-16T15:26:06 Created 4 years, 1 month 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 426340a687a8105babaa1fc3d088f7db4ce3ed96..39af30a8a6b217289abb2fb9b41ea3940f5ecae1 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
@@ -186,7 +186,7 @@ TEST(CustomElementTest, StateByCreateElement) {
std::unique_ptr<DummyPageHolder> pageHolder = DummyPageHolder::create();
Document& document = pageHolder->document();
for (const auto& data : createElementData) {
- Element* element = document.createElement(data.name, ASSERT_NO_EXCEPTION);
+ Element* element = document.createElement(data.name);
EXPECT_EQ(data.state, element->getCustomElementState()) << data.name;
EXPECT_EQ(data.v0state, element->getV0CustomElementState()) << data.name;
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScopeTest.cpp ('k') | third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698