[Webkit-unassigned] [Bug 85998] [GTK] Add webkit_web_view_can_show_mime_type() to WebKit2 GTK+ API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 9 09:17:43 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85998
--- Comment #3 from Martin Robinson <mrobinson at webkit.org> 2012-05-09 09:16:47 PST ---
(From update of attachment 140955)
View in context: https://bugs.webkit.org/attachment.cgi?id=140955&action=review
> Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:202
> + if (decisionType != WEBKIT_POLICY_DECISION_TYPE_RESPONSE) {
> + webkit_policy_decision_use(decision);
> + return TRUE;
> + }
> +
> + WebKitURIResponse* response = webkit_response_policy_decision_get_response(WEBKIT_RESPONSE_POLICY_DECISION(decision));
> + if (webkit_web_view_can_show_mime_type(webView, webkit_uri_response_get_mime_type(response)))
> + webkit_policy_decision_use(decision);
> + else
> + webkit_policy_decision_download(decision);
> +
Hrm. It seems odd that a library would write non-cache data to the filesystem without the embedder specifically opting in to that.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list