Define navigator.javaEnabled and .mimeTypes

In private browsing 'navigator' is overridden.
This commit is contained in:
Christian Dywan 2011-11-13 20:31:02 +01:00
parent 069ade42d0
commit 52ae8c90e8

View file

@ -2953,6 +2953,8 @@ webkit_web_view_window_object_cleared_cb (GtkWidget* web_view,
"'language': 'en-US'," "'language': 'en-US',"
"'platform': 'Linux i686'," "'platform': 'Linux i686',"
"'cookieEnabled': true," "'cookieEnabled': true,"
"'javaEnabled': function () { return true; },"
"'mimeTypes': {},"
"'plugins': {'refresh': function () { } } };", "'plugins': {'refresh': function () { } } };",
NULL); NULL);
g_free (result); g_free (result);