| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
That's exactly what it does; The exact WebView UI delegate is: - (void)webView:(WebView *)webView addMessageToConsole:(NSDictionary *)dictionary; So anytime there's a _javascript_ exception, your addMessageToConsole (in your WebView UI delegate) is invoked, complete with dictionary. Cheers, Kevin On Apr 13, 2006, at 6:21 PM, Mike Hanna wrote: That would be useful, but how can I make WebKit send me the NSDictionary containing the error? In your example, you've created the line number, message and source via an NSDictionary. It would be very useful if WebKit did that automatically. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: How to access WebKit Javascript error messages (From: Mike Hanna <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.