2010-04-01 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
authorkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Apr 2010 16:07:08 +0000 (16:07 +0000)
committerkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Apr 2010 16:07:08 +0000 (16:07 +0000)
commite7e0da7f223ee97293016140caddfaa4f545de24
treeddd3415d3d0de5e931a204859edc435cb0ad4f62
parent3fe9e8a67e7785f4929bb9857efb6f51bbcdfa99
2010-04-01  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Holger Freyther.

        [GTK] webkit_get_default_session() should make sure webkit_init() is called
        https://bugs.webkit.org/show_bug.cgi?id=36754

        Make sure global functions that do not require a WebKitWebView to
        be created call webkit_init() before doing their job. Also add an
        API test to check for that.

        * tests/testglobals.c: Added.
        (test_globals_default_session):
        (main):
        * webkit/webkitwebview.cpp:
        (webkit_get_default_session):
        (webkit_set_cache_model):
        (webkit_get_cache_model):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@56916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
GNUmakefile.am
WebKit/gtk/ChangeLog
WebKit/gtk/tests/testglobals.c [new file with mode: 0644]
WebKit/gtk/webkit/webkitwebview.cpp