1.) I've been testing out my app on 10.4 and noticed that when my
webview tries to load a page that is an RSS feed (for example,
feed://scripts.ign.com/rss/ign.VE3D.2.0.xml), it actually loads up
Safari RSS. How do I prevent my webview from loading anything BUT
HTTP content? Even sending back a page-failed would be fine - I
just want to make sure that it doesn't try to load anything other
than http://. Should I just do a basic text filter when loading the
url? Or is there a better way to do this?
If this is a Safari RSS view, then it must be within Safari, because
the Safari RSS code doesn't exist at all in WebKit; it's in the
application. So I assume that what's happening is that the WebView is
not handling the URL at all, and your application is passing the URL
to Launch Services, which is launching Safari. If so, it should be
easy to stop doing this if you don't want to start external URLs at
all. You can probably do that by removing code.
If you're seeing Safari RSS content inside your own WebView, then I'm
amazed!
2.) I'm encountering a reproducible crash in WebKit. If the first
page that I try to load fails, it will crash on the second page
load attempt. If the first page I load in the view succeeds, then
it doesn't matter how many page loads fail, it always works. I'm
loading a whole series of URLs one after the other, and if I quit
and re-launch my app, it attempts to load the most recent unloaded
page (which is often a failed page from the previous attempt)...so
this actually happens quite a bit to me. My guess is that there's
something that's not getting initialized and then released, but I
have no insight as to what it could be. This happens on 10.3 as
well, and doesn't seem to matter what page its trying to load.
Here's the stack trace from one of the crashes:
I can't really tell what's going wrong; maybe a WebKit bug. If you
can reproduce this same problem with a simple test application, you
could file a bug report at <http://bugreport.apple.com>.
-- Darin
_______________________________________________
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