Re: Web View silently fails

2008-07-27 Thread Jeff Johnson
On Jul 27, 2008, at 9:52 AM, Nicolas L. wrote: I have to say I'm still not sure why this URL matters to load the page since the entire contents/data are already in the local archiv. the URL doesn't need to be accessed, does it... Might be a question for the WebKit developers. http://webkit

Re: Web View silently fails

2008-07-27 Thread Nicolas L.
Hi Jeff, Replacing that source URL with a random HTTP URL before loading *did* do the trick. Thank you very much, you saved me a lot of trouble! I have to say I'm still not sure why this URL matters to load the page since the entire contents/data are already in the local archiv. the URL d

Re: Web View silently fails

2008-07-27 Thread Jeff Johnson
Nicolas, Web archives are actually xml documents, so you can open and view them in BBEdit, for example. The problem with Test2 is that the value of "WebResourceURL" is "x-msg://21/". If you change that to a http URL, such as "http://www.google.com/";, it will load. Probably your WebView c

Web View silently fails

2008-07-27 Thread Nicolas L.
Hello! I am having a really weird problem with WebView and more specifically getting them to load a WebArchive. My app acquires WebArchives (saved by Safari, TextEdit, other apps, or from the pasteboard provided by those apps) and then later tries to load them. My bug is WebView doesn't s