Title: [137595] trunk/Source/WebKit2
- Revision
- 137595
- Author
- [email protected]
- Date
- 2012-12-13 07:34:41 -0800 (Thu, 13 Dec 2012)
Log Message
[EFL] API tests failing because Vibration API is using unsigned as duration since r137410
https://bugs.webkit.org/show_bug.cgi?id=104914
Reviewed by Kenneth Rohde Christiansen.
Update the tests to reflect the data type coming from WebCore.
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(VibrationCbData):
(onVibrate):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (137594 => 137595)
--- trunk/Source/WebKit2/ChangeLog 2012-12-13 15:24:20 UTC (rev 137594)
+++ trunk/Source/WebKit2/ChangeLog 2012-12-13 15:34:41 UTC (rev 137595)
@@ -1,3 +1,16 @@
+2012-12-13 Thiago Marcos P. Santos <[email protected]>
+
+ [EFL] API tests failing because Vibration API is using unsigned as duration since r137410
+ https://bugs.webkit.org/show_bug.cgi?id=104914
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Update the tests to reflect the data type coming from WebCore.
+
+ * UIProcess/API/efl/tests/test_ewk2_view.cpp:
+ (VibrationCbData):
+ (onVibrate):
+
2012-12-13 Kenneth Rohde Christiansen <[email protected]>
[EFL][WK2] Device pixel ratio lost upon relaunch of the web process
Modified: trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp (137594 => 137595)
--- trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp 2012-12-13 15:24:20 UTC (rev 137594)
+++ trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp 2012-12-13 15:34:41 UTC (rev 137595)
@@ -802,13 +802,13 @@
bool didReceiveVibrate; // Whether the vibration event received.
bool didReceiveCancelVibration; // Whether the cancel vibration event received.
unsigned vibrateCalledCount; // Vibrate callbacks count.
- uint64_t expectedVibrationTime; // Expected vibration time.
+ unsigned expectedVibrationTime; // Expected vibration time.
};
static void onVibrate(void* userData, Evas_Object*, void* eventInfo)
{
VibrationCbData* data = ""
- uint64_t* vibrationTime = static_cast<uint64_t*>(eventInfo);
+ unsigned* vibrationTime = static_cast<unsigned*>(eventInfo);
if (*vibrationTime == data->expectedVibrationTime)
data->didReceiveVibrate = true;
data->vibrateCalledCount++;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes