WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
140515
[WK2] Add support for fully editable WKWebView
https://bugs.webkit.org/show_bug.cgi?id=140515
Summary
[WK2] Add support for fully editable WKWebView
Enrica Casucci
Reported
2015-01-15 15:09:17 PST
This tracks the work required to support in WebKit2 the mode where the WKWebView is fully editable.
Attachments
Patch
(9.30 KB, patch)
2015-01-15 15:24 PST
,
Enrica Casucci
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Enrica Casucci
Comment 1
2015-01-15 15:24:38 PST
Created
attachment 244718
[details]
Patch
Anders Carlsson
Comment 2
2015-01-15 15:29:52 PST
Comment on
attachment 244718
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=244718&action=review
What's up with the WKView.mm changes?
> Source/WebKit2/UIProcess/WebPageProxy.cpp:1403 > + m_process->send(Messages::WebPage::SetEditable(editable), m_pageID);
I think you can bail if m_process->isValid() is false.
> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:85 > +@property (nonatomic, setter=_setEditable:) BOOL _editable;
getter should be _isEditable here. Property should still be _editable.
> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:931 > + // If the WKWebView is made editable and the selection is empty, set it to something.
I'd just say "page" instead of WKWebView here.
Enrica Casucci
Comment 3
2015-01-15 15:38:48 PST
Thanks for the review. I'll address your comments before landing.
> > What's up with the WKView.mm changes? >
I noticed that some of the methods listed in the comment had been implemented.
Enrica Casucci
Comment 4
2015-01-15 15:42:20 PST
Committed revision 178536.
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