Re: WebKit WebArchive Create but no Load?

2011-01-25 Thread Bruce Cresanta
SOLVED-- The webArchive message on the dataSource is faulty-- it creates bad archives. Much better to create a WebArchive with it's own initialization routine that takes a mainResource and subresources. The loadArchive works flawlessly against a webarchive created in this fashion. Bruce

Re: WebKit WebArchive Create but no Load?

2011-01-25 Thread Mike Abdullah
-[WebFrame loadArchive:] On 25 Jan 2011, at 04:29, Bruce Cresanta wrote: > Hello, > > It is rather straightforward to create a webarchive in Cocoa: > > WebArchive* archive = [[[webArchive mainFrame] dataSource] webArchive] > > However... Once you have this archive, there seems to be no way to

WebKit WebArchive Create but no Load?

2011-01-24 Thread Bruce Cresanta
Hello, It is rather straightforward to create a webarchive in Cocoa: WebArchive* archive = [[[webArchive mainFrame] dataSource] webArchive] However... Once you have this archive, there seems to be no way to load it back into the webview. Am I missing something?? Any guidance is very much