Bug 111140 - Coordinated Graphics API tests for Efl
Summary: Coordinated Graphics API tests for Efl
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Luiz Agostini
URL:
Keywords:
Depends on: 111139 110323
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-28 21:59 PST by Luiz Agostini
Modified: 2013-10-11 08:06 PDT (History)
5 users (show)

See Also:


Attachments
patch (9.62 KB, patch)
2013-03-15 00:11 PDT, Luiz Agostini
eflews.bot: commit-queue-
Details | Formatted Diff | Diff
patch (9.56 KB, patch)
2013-03-15 01:05 PDT, Luiz Agostini
no flags Details | Formatted Diff | Diff
patch (9.47 KB, patch)
2013-03-15 01:13 PDT, Luiz Agostini
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Agostini 2013-02-28 21:59:56 PST
Coordinated Graphics API tests for Efl
Comment 1 Luiz Agostini 2013-03-15 00:11:58 PDT
Created attachment 193246 [details]
patch
Comment 2 EFL EWS Bot 2013-03-15 00:18:53 PDT
Comment on attachment 193246 [details]
patch

Attachment 193246 [details] did not pass efl-ews (efl):
Output: http://webkit-commit-queue.appspot.com/results/17116283
Comment 3 Luiz Agostini 2013-03-15 01:05:19 PDT
Created attachment 193254 [details]
patch
Comment 4 WebKit Review Bot 2013-03-15 01:07:35 PDT
Attachment 193254 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/PlatformEfl.cmake', u'Source/WebKit2/UIProcess/API/C/efl/WKView.cpp', u'Source/WebKit2/UIProcess/API/C/efl/WKView.h', u'Source/WebKit2/UIProcess/API/efl/ewk_view.cpp', u'Source/WebKit2/UIProcess/API/efl/ewk_view.h', u'Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_coordinated_view.cpp', u'Source/WebKit2/UIProcess/efl/WebView.h']" exit_code: 1
Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_coordinated_view.cpp:60:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
Total errors found: 1 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Luiz Agostini 2013-03-15 01:13:59 PDT
Created attachment 193255 [details]
patch
Comment 6 Kenneth Rohde Christiansen 2013-03-18 03:52:00 PDT
Comment on attachment 193255 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=193255&action=review

LGTM

> Source/WebKit2/UIProcess/API/efl/ewk_view.h:854
>  
> +EAPI const void* ewk_view_WKView_get(const Evas_Object* ewkView);
> +

Similar method already exists!
Comment 7 Mikhail Pozdnyakov 2013-03-18 04:57:04 PDT
Comment on attachment 193255 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=193255&action=review

> Source/WebKit2/UIProcess/API/efl/ewk_view.h:853
> +EAPI const void* ewk_view_WKView_get(const Evas_Object* ewkView);

it cannot be part of public API.

> Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_coordinated_view.cpp:42
> +static Ecore_Timer* timeoutTimer = 0;

=0 can be omitted

> Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_coordinated_view.cpp:60
> +    const char* hitTestHtml =

const char hitTestHtml[]
Comment 8 Noam Rosenthal 2013-10-11 08:05:50 PDT
This has been resolved in a diferent way by the nix port.