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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodControllerTest.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/editing/InputMethodControllerTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
index 1d1eaf64d0da2b65835dd646f456a9ec1104c2e7..c8e40c8868c2b73198ed50e7141bad16dcf412ca 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
@@ -808,7 +808,7 @@ TEST_F(InputMethodControllerTest, CompositionInputEventIsComposing) {
document().settings()->setScriptEnabled(true);
Element* editable = insertHTMLElement(
"<div id='sample' contentEditable='true'></div>", "sample");
- Element* script = document().createElement("script", ASSERT_NO_EXCEPTION);
+ Element* script = document().createElement("script");
script->setInnerHTML(
"document.getElementById('sample').addEventListener('beforeinput', "
"function(event) {"
@@ -843,7 +843,7 @@ TEST_F(InputMethodControllerTest, CompositionInputEventData) {
document().settings()->setScriptEnabled(true);
Element* editable = insertHTMLElement(
"<div id='sample' contentEditable='true'></div>", "sample");
- Element* script = document().createElement("script", ASSERT_NO_EXCEPTION);
+ Element* script = document().createElement("script");
script->setInnerHTML(
"document.getElementById('sample').addEventListener('beforeinput', "
"function(event) {"

Powered by Google App Engine
This is Rietveld 408576698