summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-11-26 11:37:00 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-26 11:36:36 +0100
commitf474b2b60ec57205facd4eec2181ebe69b686772 (patch)
tree42a132541a82c97039ea8a98b40e5012187ede28 /Tools/TestWebKitAPI
parent061d58bc0fa016cfeed744fd3e4663460635d69b (diff)
downloadqtwebkit-f474b2b60ec57205facd4eec2181ebe69b686772.tar.gz
Imported WebKit commit 76dac539db7ece7079963adfcfe878d8e2f7d861 (http://svn.webkit.org/repository/webkit/trunk@135696)
New snapshot that fixes build after QMacStyle removal Change-Id: Idea95c96c73b49158d52861db2a4b8d2c51766b0 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'Tools/TestWebKitAPI')
-rw-r--r--Tools/TestWebKitAPI/GNUmakefile.am1
-rw-r--r--Tools/TestWebKitAPI/PlatformEfl.cmake2
-rw-r--r--Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp1
-rw-r--r--Tools/TestWebKitAPI/efl/PlatformUtilities.cpp2
-rw-r--r--Tools/TestWebKitAPI/efl/PlatformWebView.cpp8
5 files changed, 3 insertions, 11 deletions
diff --git a/Tools/TestWebKitAPI/GNUmakefile.am b/Tools/TestWebKitAPI/GNUmakefile.am
index 759ccb9e0..01b115878 100644
--- a/Tools/TestWebKitAPI/GNUmakefile.am
+++ b/Tools/TestWebKitAPI/GNUmakefile.am
@@ -54,7 +54,6 @@ Programs_TestWebKitAPI_TestWTF_SOURCES = \
Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp \
Tools/TestWebKitAPI/Tests/WTF/MathExtras.cpp \
Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp \
- Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp \
Tools/TestWebKitAPI/Tests/WTF/RedBlackTree.cpp \
Tools/TestWebKitAPI/Tests/WTF/SaturatedArithmeticOperations.cpp \
Tools/TestWebKitAPI/Tests/WTF/StringBuilder.cpp \
diff --git a/Tools/TestWebKitAPI/PlatformEfl.cmake b/Tools/TestWebKitAPI/PlatformEfl.cmake
index c6ea7302c..88f424e66 100644
--- a/Tools/TestWebKitAPI/PlatformEfl.cmake
+++ b/Tools/TestWebKitAPI/PlatformEfl.cmake
@@ -66,7 +66,6 @@ SET(test_webkit2_api_BINARIES
ParentFrame
PreventEmptyUserAgent
PrivateBrowsingPushStateNoHistoryCallback
- ResponsivenessTimerDoesntFireEarly
WKConnection
WKPreferences
WKString
@@ -92,6 +91,7 @@ ADD_DEFINITIONS(-DTHEME_DIR="${THEME_BINARY_DIR}")
#
# HitTestResultNodeHandle
# MouseMoveAfterCrash
+# ResponsivenessTimerDoesntFireEarly
# SpacebarScrolling
#
# Flaky test, fails on Release but passes on Debug:
diff --git a/Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp b/Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp
index 7348062d9..dad08dda4 100644
--- a/Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp
+++ b/Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp
@@ -45,6 +45,7 @@
#include <wtf/MemoryInstrumentationListHashSet.h>
#include <wtf/MemoryInstrumentationString.h>
#include <wtf/MemoryInstrumentationVector.h>
+#include <wtf/MemoryObjectInfo.h>
#include <wtf/RefCounted.h>
#include <wtf/Vector.h>
#include <wtf/text/AtomicString.h>
diff --git a/Tools/TestWebKitAPI/efl/PlatformUtilities.cpp b/Tools/TestWebKitAPI/efl/PlatformUtilities.cpp
index 65c54e1a7..50f586d60 100644
--- a/Tools/TestWebKitAPI/efl/PlatformUtilities.cpp
+++ b/Tools/TestWebKitAPI/efl/PlatformUtilities.cpp
@@ -42,7 +42,7 @@ void run(bool* done)
void sleep(double seconds)
{
- usleep(seconds * 1000000);
+ sleep(seconds);
}
WKURLRef createURLForResource(const char* resource, const char* extension)
diff --git a/Tools/TestWebKitAPI/efl/PlatformWebView.cpp b/Tools/TestWebKitAPI/efl/PlatformWebView.cpp
index acec6ed84..2e87f7087 100644
--- a/Tools/TestWebKitAPI/efl/PlatformWebView.cpp
+++ b/Tools/TestWebKitAPI/efl/PlatformWebView.cpp
@@ -80,12 +80,4 @@ WKPageRef PlatformWebView::page() const
return WKViewGetPage(toAPI(m_view));
}
-void PlatformWebView::simulateSpacebarKeyPress()
-{
- Evas* evas = ecore_evas_get(m_window);
- evas_object_focus_set(m_view, true);
- evas_event_feed_key_down(evas, "space", "space", " ", 0, 0, 0);
- evas_event_feed_key_up(evas, "space", "space", " ", 0, 1, 0);
-}
-
} // namespace TestWebKitAPI