RESOLVED FIXED 44020
[EFL] Enable localStorage of HTML5 for WebKit EFL
https://bugs.webkit.org/show_bug.cgi?id=44020
Summary [EFL] Enable localStorage of HTML5 for WebKit EFL
Gyuyoung Kim
Reported 2010-08-14 22:11:22 PDT
Let's enable localStorage of HTML5.
Attachments
Patch (1.15 KB, patch)
2010-08-14 22:15 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2010-08-14 22:15:41 PDT
Created attachment 64435 [details] Patch I invoke setLocalStorageEnabled() in _ewk_view_priv_new() as below, 26 priv->page_settings->setPluginsEnabled(true); 27 + priv->page_settings->setLocalStorageEnabled(true); BTW, it seems we need to set the initial settings values dynamically.
Antonio Gomes
Comment 2 2010-08-15 06:55:34 PDT
> BTW, it seems we need to set the initial settings values dynamically. what do you mean?
WebKit Commit Bot
Comment 3 2010-08-15 07:10:24 PDT
Comment on attachment 64435 [details] Patch Clearing flags on attachment: 64435 Committed r65380: <http://trac.webkit.org/changeset/65380>
WebKit Commit Bot
Comment 4 2010-08-15 07:10:29 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 5 2010-08-15 07:55:21 PDT
http://trac.webkit.org/changeset/65380 might have broken SnowLeopard Intel Release (Tests)
Gyuyoung Kim
Comment 6 2010-08-16 00:11:13 PDT
(In reply to comment #2) > > BTW, it seems we need to set the initial settings values dynamically. > > what do you mean? I mean that default settings below is hardcoded. static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* sd) { ... priv->page_settings->setLoadsImagesAutomatically(true); priv->page_settings->setDefaultFixedFontSize(12); priv->page_settings->setDefaultFontSize(16); priv->page_settings->setSerifFontFamily("serif"); priv->page_settings->setFixedFontFamily("monotype"); priv->page_settings->setSansSerifFontFamily("sans"); priv->page_settings->setStandardFontFamily("sans"); priv->page_settings->setJavaScriptEnabled(true); priv->page_settings->setPluginsEnabled(true); priv->page_settings->setLocalStorageEnabled(true); ... } It seems to me the default values need to be changed by setting file or user and so on. How do you think about it ?
Antonio Gomes
Comment 7 2010-08-16 04:45:36 PDT
(In reply to comment #6) > (In reply to comment #2) > > > BTW, it seems we need to set the initial settings values dynamically. > > > > what do you mean? > > I mean that default settings below is hardcoded. > > static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* sd) { > ... > priv->page_settings->setLoadsImagesAutomatically(true); > priv->page_settings->setDefaultFixedFontSize(12); > priv->page_settings->setDefaultFontSize(16); > priv->page_settings->setSerifFontFamily("serif"); > priv->page_settings->setFixedFontFamily("monotype"); > priv->page_settings->setSansSerifFontFamily("sans"); > priv->page_settings->setStandardFontFamily("sans"); > priv->page_settings->setJavaScriptEnabled(true); > priv->page_settings->setPluginsEnabled(true); > priv->page_settings->setLocalStorageEnabled(true); > ... > } > > It seems to me the default values need to be changed by setting file or user and so on. How do you think about it ? I agree. Maybe a EWebSettings public class to your API(?)
Gyuyoung Kim
Comment 8 2010-08-17 03:54:37 PDT
(In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #2) > > > > BTW, it seems we need to set the initial settings values dynamically. > > > > > > what do you mean? > > > > I mean that default settings below is hardcoded. > > > > static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* sd) { > > ... > > priv->page_settings->setLoadsImagesAutomatically(true); > > priv->page_settings->setDefaultFixedFontSize(12); > > priv->page_settings->setDefaultFontSize(16); > > priv->page_settings->setSerifFontFamily("serif"); > > priv->page_settings->setFixedFontFamily("monotype"); > > priv->page_settings->setSansSerifFontFamily("sans"); > > priv->page_settings->setStandardFontFamily("sans"); > > priv->page_settings->setJavaScriptEnabled(true); > > priv->page_settings->setPluginsEnabled(true); > > priv->page_settings->setLocalStorageEnabled(true); > > ... > > } > > > > It seems to me the default values need to be changed by setting file or user and so on. How do you think about it ? > > I agree. Maybe a EWebSettings public class to your API(?) Ok, I will consider how to modify this issue.
Note You need to log in before you can comment on or make changes to this bug.