Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebView problem



Sorry for the cross-post, but I think this problem may not be exclusive to webkit. In my application, I’m trying to load a WebView in the background and grab a screenshot of it. To do this, I create a webview, load it into an off-screen window, lock focus on it, call drawRect, then create an NSBitmapImageRep from it. This works great for 99% of pages, however occasionally I’ll hit a page where it overloads the stack and crashes my app (the stack has 10,000+ calls on it). This takes place somewhere in the khtml renderer under WebKit, and I’m pretty sure it has to do with WebKit trying to display an animated GIF offscreen. Has anyone ever encountered an issue like this with WebView or any other NSView doing off-screen drawing?

 _______________________________________________
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



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.