Hi all,

    I have my own WebView window, and I need to make the Choose File button 
work on a "<input type=file>" item on a web page.

    I have implemented the WebUIDelegate method   - (void)webView:(WebView 
*)sender 
runOpenPanelForFileButtonWithResultListener:(id<WebOpenPanelResultListener>)resultListener.

    Besides, I have registered it as the delegate by sending [myWebView 
setUIDelegate:self].

    However, I'm having a crash that doesn't seem to involve any of my code. I 
get a EXC_BAD_ACCESS with the following stack trace:

#0  0x94e8a77b in CFWriteStreamClose ()
#1  0x952968ec in spoolingClose ()
#2  0x94e8a57d in _CFStreamClose ()
#3  0x93d6447f in closeRequestResources ()
#4  0x93d5fb0f in httpConnectionStateChanged ()
#5  0x93d7b1e4 in sendStateChanged ()
#6  0x93d7b16e in _CFNetConnectionErrorOccurred ()
#7  0x93d6c45f in httpRequestPayloadCallBack ()
#8  0x94e88629 in _CFStreamSignalEventSynch ()
#9  0x94e76698 in CFRunLoopRunSpecific ()
#10 0x94e76d38 in CFRunLoopRunInMode ()
#11 0x9512f560 in +[NSURLConnection(NSURLConnectionReallyInternal) 
_resourceLoadLoop:] ()
#12 0x950cc04d in -[NSThread main] ()
#13 0x950cbbf4 in __NSThread__main__ ()
#14 0x93336075 in _pthread_start ()
#15 0x93335f32 in thread_start ()

Ring any bells for anyone? Any thoughts at all would be appreciated.

Thanks,
Rui
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to