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 35351
[GTK] DRT implement execCommand()
https://bugs.webkit.org/show_bug.cgi?id=35351
Summary
[GTK] DRT implement execCommand()
Philippe Normand
Reported
2010-02-24 11:24:18 PST
At least editing/execCommand/delete-image-in-anchor.html fails because of that.
Attachments
Patch for this issue
(21.40 KB, patch)
2010-07-30 18:53 PDT
,
Martin Robinson
xan.lopez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Christian Dywan
Comment 1
2010-02-24 12:33:50 PST
See
bug 19456
implementing webkit_web_view_execute_command().
Martin Robinson
Comment 2
2010-07-08 13:32:47 PDT
Committed
r62827
: <
http://trac.webkit.org/changeset/62827
>
Martin Robinson
Comment 3
2010-07-30 18:53:36 PDT
Created
attachment 63136
[details]
Patch for this issue
Martin Robinson
Comment 4
2010-07-30 18:54:21 PDT
It seems that the needs of LayoutTestController.execCommand may be slightly different than the the exec_command we want to expose in the public API. I've attached a patch which adds private methods we need for unimplemented DRT functionality. This will at least allow us to pass more tests. Eventually this may be made modified and made public for the editing API.
Christian Dywan
Comment 5
2010-08-01 12:28:56 PDT
(In reply to
comment #4
)
> It seems that the needs of LayoutTestController.execCommand may be slightly different than the the exec_command we want to expose in the public API. I've attached a patch which adds private methods we need for unimplemented DRT functionality. This will at least allow us to pass more tests. Eventually this may be made modified and made public for the editing API.
The difference seems to be an additional string value argument. And in hindsight I actually agree this is useful, for instance for insertHTML. I had not considered that when I wrote the existing patch.
Martin Robinson
Comment 6
2010-08-02 09:12:21 PDT
It should be simple to expose this as a public API once we have it in and test it via the DRT then.
Xan Lopez
Comment 7
2010-08-02 14:12:55 PDT
Comment on
attachment 63136
[details]
Patch for this issue
>-bool LayoutTestController::isCommandEnabled(JSStringRef /*name*/) >+void LayoutTestController::setCacheModel(int) > { > // FIXME: implement >- return false; > }
So in the ChangeLog you say you are only moving this, but you are also adding a return false. Is it needed or just added by mistake?
> >+
Not needed?
> void LayoutTestController::setPersistentUserStyleSheetLocation(JSStringRef jsURL) > { > // FIXME: implement
Looks good other than that.
Martin Robinson
Comment 8
2010-08-02 19:20:29 PDT
Committed
r64524
: <
http://trac.webkit.org/changeset/64524
>
Martin Robinson
Comment 9
2010-08-02 19:37:28 PDT
(In reply to
comment #7
)
> (From update of
attachment 63136
[details]
) > >-bool LayoutTestController::isCommandEnabled(JSStringRef /*name*/) > >+void LayoutTestController::setCacheModel(int) > > { > > // FIXME: implement > >- return false; > > } > So in the ChangeLog you say you are only moving this, but you are also adding a return false. Is it needed or just added by mistake?
I think that's just a case of a slightly confusing diff. In this case, I removed the "return false" in this location and replaced it with the result of webkit_web_view_is_command_enabled above.
> >+ > Not needed?
Fixed!
WebKit Review Bot
Comment 10
2010-08-03 05:32:50 PDT
http://trac.webkit.org/changeset/64524
might have broken Leopard Intel Debug (Tests) The following changes are on the blame list:
http://trac.webkit.org/changeset/64517
http://trac.webkit.org/changeset/64518
http://trac.webkit.org/changeset/64519
http://trac.webkit.org/changeset/64520
http://trac.webkit.org/changeset/64521
http://trac.webkit.org/changeset/64522
http://trac.webkit.org/changeset/64523
http://trac.webkit.org/changeset/64524
http://trac.webkit.org/changeset/64525
http://trac.webkit.org/changeset/64526
http://trac.webkit.org/changeset/64527
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