2010-10-15 Qi Zhang <qi.2.zhang@nokia.com>
authorcommit-queue <commit-queue@webkit.org>
Fri, 15 Oct 2010 16:27:27 +0000 (16:27 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 15 Oct 2010 19:53:58 +0000 (16:53 -0300)
commit42e90ac8ec6a5354d1e120a7d30b9a62371da66b
tree5ced44c0f8c9d2f54b487fede42143f65a74749e
parent995f39c1c868663eb785e88316e845d2818e92d0
2010-10-15  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] window.close() doesn't work in qt
        https://bugs.webkit.org/show_bug.cgi?id=46186

        Introduce new attribute in QWebSettings to trigger "setAllowScriptsToCloseWindow"

        * Api/qwebsettings.cpp:
        (QWebSettingsPrivate::apply):
        * Api/qwebsettings.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/qt/Api/qwebsettings.cpp
WebKit/qt/Api/qwebsettings.h
WebKit/qt/ChangeLog