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

Unified Diff: third_party/WebKit/Source/core/input/EventHandlerTest.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/input/EventHandlerTest.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
index 19b58c2077427c5d2344963b553f22223c5f278b..4aaba62ea4ae67acc294a34ae8992e20a34fc12a 100644
--- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
@@ -237,7 +237,7 @@ TEST_F(EventHandlerTest, sendContextMenuEventWithHover) {
"<style>*:hover { color: red; }</style>"
"<div>foo</div>");
document().settings()->setScriptEnabled(true);
- Element* script = document().createElement("script", ASSERT_NO_EXCEPTION);
+ Element* script = document().createElement("script");
script->setInnerHTML(
"document.addEventListener('contextmenu', event => "
"event.preventDefault());",
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/OptionListTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698