diff options
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp')
-rw-r--r-- | Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp index b3a377270..fb1091889 100644 --- a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp +++ b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp @@ -35,7 +35,7 @@ #include "WebKitTestServer.h" #include <gtk/gtk.h> #include <webkit2/webkit2.h> -#include <wtf/glib/GRefPtr.h> +#include <wtf/gobject/GRefPtr.h> static WebKitTestServer* gServer; @@ -273,11 +273,6 @@ static void testWebKitSettings(Test*, gconstpointer) webkit_settings_set_enable_mediasource(settings, TRUE); g_assert(webkit_settings_get_enable_mediasource(settings)); - // File access from file URLs is not allowed by default. - g_assert(!webkit_settings_get_allow_file_access_from_file_urls(settings)); - webkit_settings_set_allow_file_access_from_file_urls(settings, TRUE); - g_assert(webkit_settings_get_allow_file_access_from_file_urls(settings)); - g_object_unref(G_OBJECT(settings)); } |