Changeset 93685 in webkit


Ignore:
Timestamp:
Aug 23, 2011 6:55:25 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Get the default value for `scripts_window_open' from the right method.
https://bugs.webkit.org/show_bug.cgi?id=66775

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-08-23
Reviewed by Kent Tamura.

For some unknown reason, the default value for this setting was being
obtained from Settings::allowScriptsToCloseWindows() instead of
Settings::javaScriptCanOpenWindowsAutomatically(), which makes no
sense at all.

  • ewk/ewk_view.cpp:

(_ewk_view_priv_new):

Location:
trunk/Source/WebKit/efl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/efl/ChangeLog

    r93683 r93685  
     12011-08-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [EFL] Get the default value for `scripts_window_open' from the right method.
     4        https://bugs.webkit.org/show_bug.cgi?id=66775
     5
     6        Reviewed by Kent Tamura.
     7
     8        For some unknown reason, the default value for this setting was being
     9        obtained from Settings::allowScriptsToCloseWindows() instead of
     10        Settings::javaScriptCanOpenWindowsAutomatically(), which makes no
     11        sense at all.
     12
     13        * ewk/ewk_view.cpp:
     14        (_ewk_view_priv_new):
     15
    1162011-08-23  KwangHyuk Kim  <hyuki.kim@samsung.com>
    217
  • trunk/Source/WebKit/efl/ewk/ewk_view.cpp

    r93637 r93685  
    634634    priv->settings.enable_plugins = priv->page_settings->arePluginsEnabled();
    635635    priv->settings.enable_frame_flattening = priv->page_settings->frameFlatteningEnabled();
    636     priv->settings.scripts_window_open = priv->page_settings->allowScriptsToCloseWindows();
     636    priv->settings.scripts_window_open = priv->page_settings->javaScriptCanOpenWindowsAutomatically();
    637637    priv->settings.resizable_textareas = priv->page_settings->textAreasAreResizable();
    638638    priv->settings.private_browsing = priv->page_settings->privateBrowsingEnabled();
Note: See TracChangeset for help on using the changeset viewer.