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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 17 17:42:01 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18561


mrowe at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from mrowe at apple.com  2008-04-17 17:42 PDT -------
2008-04-17 17:38:39.186 PolicyTest[80860:10b] *** -[WebFramePolicyListener
<null selector>]: unrecognized selector sent to instance 0x12f630
2008-04-17 17:38:39.188 PolicyTest[80860:10b] *** -[WebFramePolicyListener
<null selector>]: unrecognized selector sent to instance 0x12f630

....

diff -r -u PolicyTest/TestPolicyDelegate.m PolicyTest/TestPolicyDelegate.m
--- PolicyTest/TestPolicyDelegate.m     2008-04-17 16:23:37.000000000 -0700
+++ PolicyTest/TestPolicyDelegate.m     2008-04-17 17:40:39.000000000 -0700
@@ -31,6 +31,7 @@
     NSMethodSignature *signature = [decisionListener
methodSignatureForSelector:@selector(use)];
     NSInvocation *invocation = [NSInvocation
invocationWithMethodSignature:signature];
     [invocation setTarget:listener];
+    [invocation setSelector:@selector(use)];
     [NSTimer scheduledTimerWithTimeInterval:1 invocation:invocation
repeats:NO];
 }



-- 
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