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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunnerTest.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/ScriptRunnerTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
index 3b92e16b6a089c5efd88d666a97e5b32718704ef..3b5dc712dc7cd6af78a86dcfa905eaa328a291c9 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
@@ -42,7 +42,7 @@ class ScriptRunnerTest : public testing::Test {
public:
ScriptRunnerTest()
: m_document(Document::create()),
- m_element(m_document->createElement("foo", ASSERT_NO_EXCEPTION)) {}
+ m_element(m_document->createElement("foo")) {}
void SetUp() override {
// We have to create ScriptRunner after initializing platform, because we
« no previous file with comments | « third_party/WebKit/Source/core/dom/RangeTest.cpp ('k') | third_party/WebKit/Source/core/dom/TreeScopeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698