WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 97460
[GTK] Add Select All method to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=97460
Summary
[GTK] Add Select All method to WebKit2 GTK+ API
Simon Pena
Reported
2012-09-24 09:30:43 PDT
[GTK] Add Select All method to WebKit2 GTK+ API
Attachments
Patch
(6.42 KB, patch)
2012-09-24 09:45 PDT
,
Simon Pena
no flags
Details
Formatted Diff
Diff
Patch
(6.17 KB, patch)
2012-09-24 11:07 PDT
,
Simon Pena
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Simon Pena
Comment 1
2012-09-24 09:45:07 PDT
Created
attachment 165400
[details]
Patch
Simon Pena
Comment 2
2012-09-24 09:48:06 PDT
Updating component and adding Carlos to CC. Carlos, I'm not sure if the unit test is a bit redundat right now, checking the same both when it's editable or not. What do you think? Do you think I should be testing anything else?
WebKit Review Bot
Comment 3
2012-09-24 09:50:05 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Martin Robinson
Comment 4
2012-09-24 10:36:42 PDT
Comment on
attachment 165400
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=165400&action=review
Nice work. The tests you have written are more than adequate, in my opinion. I just have a few minor nits. Do you mind just uploading a new patch and then I can commit it for you.
> Source/WebKit2/UIProcess/API/gtk/tests/TestWebViewEditor.cpp:59 > + void executeEditingCommand(const char* command) > + { > + webkit_web_view_execute_editing_command(m_webView, command); > + } > +
Since this method just does one thing, it probably makes a bit more sense just do call webkit_web_view_execute_editing_command from the test. It makes it a bit more clear what API you are actually testing there.
> Source/WebKit2/UIProcess/API/gtk/tests/TestWebViewEditor.cpp:157 > + // Initially only the subspan is selected
Just a minor nit here. Comments in WebKit should have a period at the end.
Simon Pena
Comment 5
2012-09-24 11:07:08 PDT
Created
attachment 165414
[details]
Patch
Simon Pena
Comment 6
2012-09-24 11:07:52 PDT
(In reply to
comment #5
)
> Created an attachment (id=165414) [details] > Patch
Addressing Martin's comments here
WebKit Review Bot
Comment 7
2012-09-24 12:53:22 PDT
Comment on
attachment 165414
[details]
Patch Clearing flags on attachment: 165414 Committed
r129399
: <
http://trac.webkit.org/changeset/129399
>
WebKit Review Bot
Comment 8
2012-09-24 12:53:26 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug