[Webkit-unassigned] [Bug 16562] [gtk] Implement WebPolicyDelegate methods
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 7 05:32:21 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16562
christian at twotoasts.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
------- Comment #3 from christian at twotoasts.de 2008-01-07 05:32 PDT -------
(In reply to comment #2)
> Created an attachment (id=18276)
--> (http://bugs.webkit.org/attachment.cgi?id=18276&action=view) [edit]
> Applied some comments
> I added WEBKIT_POLICY_RESPONSE_NULL to allow an handler to return an error or
> force the default behavior. Also, when there is no handler to
> mime-type-policy-decision-requested, the return value defaults to
> WEBKIT_POLICY_RESPONSE_NULL which will trigger the default behavior.
This feels a bit ugly to me. For once _RESPONSE_NULL does not have any obvious
meaning and your implementation allows a client to ACCEPT input that the
webview can not handle.
What about using ACCEPT as the default policy, which is automatically replaced
by DOWNLOAD if it cannot be displayed?
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list