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 96070
[EFL][WK2] Minibrowser crashes on right mouse click
https://bugs.webkit.org/show_bug.cgi?id=96070
Summary
[EFL][WK2] Minibrowser crashes on right mouse click
Jinwoo Song
Reported
2012-09-06 22:47:42 PDT
Make eary return if the PageClient does not create a ContextMenuProxy.
Attachments
patch
(1.27 KB, patch)
2012-09-06 22:48 PDT
,
Jinwoo Song
no flags
Details
Formatted Diff
Diff
patch
(1.27 KB, patch)
2012-09-07 00:42 PDT
,
Jinwoo Song
no flags
Details
Formatted Diff
Diff
patch.
(1.27 KB, patch)
2012-09-07 00:50 PDT
,
Jinwoo Song
no flags
Details
Formatted Diff
Diff
patch
(1.28 KB, patch)
2012-09-07 04:41 PDT
,
Jinwoo Song
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Jinwoo Song
Comment 1
2012-09-06 22:48:09 PDT
Created
attachment 162674
[details]
patch
Gyuyoung Kim
Comment 2
2012-09-06 23:50:36 PDT
Comment on
attachment 162674
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162674&action=review
> Source/WebKit2/ChangeLog:8 > + Make eary return if the PageClient does not create a ContextMenuProxy.
eary -> early ?
Gyuyoung Kim
Comment 3
2012-09-07 00:02:56 PDT
Comment on
attachment 162674
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162674&action=review
Basically, I think EFL port should support createContextMenuProxy() as well.
> Source/WebKit2/UIProcess/WebPageProxy.cpp:2965 >
Unneeded line.
Jinwoo Song
Comment 4
2012-09-07 00:42:48 PDT
Created
attachment 162692
[details]
patch
Jinwoo Song
Comment 5
2012-09-07 00:48:18 PDT
(In reply to
comment #3
)
> (From update of
attachment 162674
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=162674&action=review
> > Basically, I think EFL port should support createContextMenuProxy() as well. >
I agree with you. :)
> > Source/WebKit2/UIProcess/WebPageProxy.cpp:2965 > > > > Unneeded line.
Remove empty line.
Jinwoo Song
Comment 6
2012-09-07 00:48:29 PDT
(In reply to
comment #2
)
> (From update of
attachment 162674
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=162674&action=review
> > > Source/WebKit2/ChangeLog:8 > > + Make eary return if the PageClient does not create a ContextMenuProxy. > > eary -> early ?
fixed.
Jinwoo Song
Comment 7
2012-09-07 00:50:14 PDT
Created
attachment 162695
[details]
patch. wrong file was attached.
Jinwoo Song
Comment 8
2012-09-07 04:41:21 PDT
Created
attachment 162743
[details]
patch
Raphael Kubo da Costa (:rakuco)
Comment 9
2012-09-07 06:51:25 PDT
Shouldn`t a context menu actually get created on right click?
Jinwoo Song
Comment 10
2012-09-07 19:40:59 PDT
(In reply to
comment #9
)
> Shouldn`t a context menu actually get created on right click?
Yes, a context menu should be created on right click, but as the EFL has no implementation yet and it caused the crash. PassRefPtr<WebContextMenuProxy> PageClientImpl::createContextMenuProxy(WebPageProxy*) { notImplemented(); return 0; } AFAIK, Gyuyoung will implement this. Did the answer fit to your question?
WebKit Review Bot
Comment 11
2012-09-08 03:57:20 PDT
Comment on
attachment 162743
[details]
patch Clearing flags on attachment: 162743 Committed
r127968
: <
http://trac.webkit.org/changeset/127968
>
WebKit Review Bot
Comment 12
2012-09-08 03:57:23 PDT
All reviewed patches have been landed. Closing bug.
Raphael Kubo da Costa (:rakuco)
Comment 13
2012-09-08 05:12:25 PDT
Well, since the context menu implementation has not been written yet, this looks like a fix in the wrong place -- why bother trying to create a context menu in the first place? Now the check might end up being forgotten and lose its need once Gyuyoung adds his context menu implementation.
Jinwoo Song
Comment 14
2012-09-08 22:55:30 PDT
(In reply to
comment #13
)
> Well, since the context menu implementation has not been written yet, this looks like a fix in the wrong place -- why bother trying to create a context menu in the first place? Now the check might end up being forgotten and lose its need once Gyuyoung adds his context menu implementation.
IMO, In the case that a port did not implement the ContextMenuProxy, this defensive code is worth well enough. Surely if EFL implement the ContextMenuProxy, it is no more necessary but it may care the other ports as well. The similar code have been landed recently for the PopupMenuProxy.
http://trac.webkit.org/changeset/127745
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