REGRESSION(r154658): webkit_web_view_get_view_source_mode always returns false
authorgns@gnome.org <gns@gnome.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Nov 2013 16:02:34 +0000 (16:02 +0000)
committergns@gnome.org <gns@gnome.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Nov 2013 16:02:34 +0000 (16:02 +0000)
commitaa623c61e8745053108589e49501ed3115673630
tree6368fa64040b36c3ae096d2a4c3a7859f95a4f03
parent32c5693f92fbbcdc736b29f04aaadfcf92d4b2a7
REGRESSION(r154658): webkit_web_view_get_view_source_mode always returns false
https://bugs.webkit.org/show_bug.cgi?id=124954

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-11-28
Reviewed by Carlos Garcia Campos.

* tests/testwebview.c: new test to ensure setting and getting source mode work as intended.
* webkit/webkitwebview.cpp:
(webkit_web_view_get_view_source_mode): actually return the value we query from WebCore.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/tests/testwebview.c
Source/WebKit/gtk/webkit/webkitwebview.cpp