[Webkit-unassigned] [Bug 18561] New: async WebPolicyDelegate do not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 17 16:23:29 PDT 2008


           Summary: async WebPolicyDelegate do not work
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org

async WebPolicyDelegate do not work

I was trying to make an async WebPolicyDelegate this afternoon.  No such luck. 
See attached application.

WebCore definitely seems to assume the WebPolicyDelegate is synchronous:

    m_delegateIsDecidingNavigationPolicy = true;
        action, request);
    m_delegateIsDecidingNavigationPolicy = false;

This is directly in conflict with the documentation in WebPolicyDelegate.h:

    @protocol WebPolicyDecisionListener
    @discussion This protocol is used to call back with the results of a
    policy decision. This provides the ability to make these decisions
    asyncrhonously, which means the decision can be made by prompting
    with a sheet, for example.

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