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

Unified Diff: Source/web/tests/WebInputEventConversionTest.cpp

Issue 933323002: Add experimental Support for DOM3 KeyboardEvent key value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated global-interface-listing as test were failing due to addition of the key Created 5 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: Source/web/tests/WebInputEventConversionTest.cpp
diff --git a/Source/web/tests/WebInputEventConversionTest.cpp b/Source/web/tests/WebInputEventConversionTest.cpp
index 669e9c363ca8e60463c9c3be3ba8145219928ff5..aaf43e4268b006e88bef39e5e64f76f1e2897aaf 100644
--- a/Source/web/tests/WebInputEventConversionTest.cpp
+++ b/Source/web/tests/WebInputEventConversionTest.cpp
@@ -57,7 +57,7 @@ namespace {
PassRefPtrWillBeRawPtr<KeyboardEvent> createKeyboardEventWithLocation(KeyboardEvent::KeyLocationCode location)
{
- return KeyboardEvent::create("keydown", true, true, 0, "", "", location, false, false, false, false);
+ return KeyboardEvent::create("keydown", true, true, 0, "", "", "", location, false, false, false, false);
}
int getModifiersForKeyLocationCode(KeyboardEvent::KeyLocationCode location)
@@ -747,7 +747,7 @@ TEST(WebInputEventConversionTest, PinchViewportOffset)
TEST(WebInputEventConversionTest, ElasticOverscroll)
{
- const std::string baseURL("http://www.test6.com/");
+ const std::string baseURL("http://www.test5.com/");
const std::string fileName("fixed_layout.html");
URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("fixed_layout.html"));
@@ -808,7 +808,7 @@ TEST(WebInputEventConversionTest, ElasticOverscroll)
TEST(WebInputEventConversionTest, WebMouseWheelEventBuilder)
{
- const std::string baseURL("http://www.test5.com/");
+ const std::string baseURL("http://www.test6.com/");
const std::string fileName("fixed_layout.html");
URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("fixed_layout.html"));
@@ -840,7 +840,7 @@ TEST(WebInputEventConversionTest, WebMouseWheelEventBuilder)
TEST(WebInputEventConversionTest, PlatformWheelEventBuilder)
{
- const std::string baseURL("http://www.test6.com/");
+ const std::string baseURL("http://www.test7.com/");
const std::string fileName("fixed_layout.html");
URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("fixed_layout.html"));

Powered by Google App Engine
This is Rietveld 408576698