WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
120572
ASSERT if port don't have color picker implemenation by inheriting webcolorpicker
https://bugs.webkit.org/show_bug.cgi?id=120572
Summary
ASSERT if port don't have color picker implemenation by inheriting webcolorpi...
Santosh Mahto
Reported
2013-08-31 22:26:16 PDT
Crash happens if port don't have implementation by inheriting WebColorPicker as happening in EFL port.
Attachments
Patch
(1.44 KB, patch)
2013-08-31 22:29 PDT
,
Santosh Mahto
darin
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Santosh Mahto
Comment 1
2013-08-31 22:29:50 PDT
Created
attachment 210228
[details]
Patch
Darin Adler
Comment 2
2013-09-01 07:16:33 PDT
Comment on
attachment 210228
[details]
Patch I don’t understand the point of this.
Darin Adler
Comment 3
2013-09-01 07:17:31 PDT
Comment on
attachment 210228
[details]
Patch This is not a useful assertion. Don’t turn on INPUT_TYPE_COLOR without implementing createColorPicker. An assertion is not a helpful way to go further with this. The null dereference happens on the next line of code!
Santosh Mahto
Comment 4
2013-09-01 07:40:57 PDT
(In reply to
comment #3
)
> (From update of
attachment 210228
[details]
) > This is not a useful assertion. Don’t turn on INPUT_TYPE_COLOR without implementing createColorPicker. An assertion is not a helpful way to go further with this. The null dereference happens on the next line of code!
WK2 ports implement color picker as two way. 1. inherit WebColorPicker --> 2. register PageUIClient Callback --> Currently EFL port has this and m_colorPicke return null and its crashing now. [EFL]
https://bugs.webkit.org/show_bug.cgi?id=119120
try to move the implementaion accoroding to first procedure. I had a thought we should put a assert to have m_colorpicker at that point. OR we can avoid crash by having null check OR wait for 119120 to land What is your view??
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