Bug 82286

Summary: [EFL][DRT] Implement LayoutTestController::execCommand
Product: WebKit Reporter: Kangil Han <kangil.han>
Component: WebKit EFLAssignee: Sudarsana Nagineni (babu) <naginenis>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, lucas.de.marchi, naginenis, rakuco, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 84338    
Attachments:
Description Flags
Patch
none
patch
none
Patch
none
Patch
tonikitoo: review+, webkit.review.bot: commit-queue-
Patch none

Description Kangil Han 2012-03-26 19:20:57 PDT
Implement LayoutTestController::execCommand for EFL DRT
Comment 1 Sudarsana Nagineni (babu) 2012-04-25 05:40:38 PDT
Created attachment 138792 [details]
Patch

Implement LayoutTestController::execCommand
Comment 2 Gyuyoung Kim 2012-04-25 17:48:20 PDT
Comment on attachment 138792 [details]
Patch

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

> Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp:401
> +void DumpRenderTreeSupportEfl::executeCoreCommandByName(const Evas_Object* ewkView, const gchar* name, const gchar* value)

Why do you use gchar instead of char? EFL port should use glib library as less as possible.

> Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp:420
> +bool DumpRenderTreeSupportEfl::isCommandEnabled(const Evas_Object* ewkView, const gchar* name)

ditto.
Comment 3 Sudarsana Nagineni (babu) 2012-04-26 02:21:27 PDT
(In reply to comment #2)
> (From update of attachment 138792 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=138792&action=review
> 
> > Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp:401
> > +void DumpRenderTreeSupportEfl::executeCoreCommandByName(const Evas_Object* ewkView, const gchar* name, const gchar* value)
> 
> Why do you use gchar instead of char? EFL port should use glib library as less as possible.

It's my mistake. I'm going to fix it. Thanks for reviewing.
Comment 4 Sudarsana Nagineni (babu) 2012-04-26 02:22:49 PDT
Created attachment 138958 [details]
patch

Fixed comment #2
Comment 5 Gyuyoung Kim 2012-04-26 02:33:29 PDT
Comment on attachment 138958 [details]
patch

Looks fine now.
Comment 6 Raphael Kubo da Costa (:rakuco) 2012-04-26 18:35:28 PDT
Comment on attachment 138958 [details]
patch

Looks fine, even though it is rather unfortunate that we cannot exercise ewk_view_editor_command_execute() with these methods.
Comment 7 Sudarsana Nagineni (babu) 2012-04-27 06:01:25 PDT
(In reply to comment #6)
> (From update of attachment 138958 [details])
> Looks fine, even though it is rather unfortunate that we cannot exercise ewk_view_editor_command_execute() with these methods.

Thanks for your review. Initially I looked around that public API and realised that we can't really use it for these LTC methods.
Comment 8 Sudarsana Nagineni (babu) 2012-04-27 06:34:47 PDT
Created attachment 139189 [details]
Patch

rebased
Comment 9 Sudarsana Nagineni (babu) 2012-05-04 11:19:34 PDT
Created attachment 140282 [details]
Patch

rebased again
Comment 10 WebKit Review Bot 2012-05-06 07:05:16 PDT
Comment on attachment 140282 [details]
Patch

Rejecting attachment 140282 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
/efl/ChangeLog
Hunk #1 succeeded at 1 with fuzz 1.
patching file Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp
patching file Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h
patching file Tools/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Antonio Go..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/

Full output: http://queues.webkit.org/results/12632750
Comment 11 Sudarsana Nagineni (babu) 2012-05-07 00:06:25 PDT
Created attachment 140486 [details]
Patch

rebased
Comment 12 WebKit Review Bot 2012-05-07 02:19:53 PDT
Comment on attachment 140486 [details]
Patch

Clearing flags on attachment: 140486

Committed r116285: <http://trac.webkit.org/changeset/116285>
Comment 13 WebKit Review Bot 2012-05-07 02:19:59 PDT
All reviewed patches have been landed.  Closing bug.