<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Crashes in WebKit: Dodge or Parry?</title>
	<atom:link href="http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/</link>
	<description>Mai Tais and Blinky Lights, Ahoy!</description>
	<lastBuildDate>Sat, 28 Jan 2012 06:57:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tom Andersen</title>
		<link>http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/comment-page-1/#comment-33619</link>
		<dc:creator>Tom Andersen</dc:creator>
		<pubDate>Wed, 24 Oct 2007 03:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/#comment-33619</guid>
		<description>I found the problem, I think. Ok so I am a little late.

When you do the offscreen webview thing, you need to call 

[_webView setHostWindow:someWindow] on your webview. That is in the docs
what I found was that I got your exact problem until I added the webview as a subview of the window:
		[[someWindow contentView] addSubview:_webView];
		[_webView setHostWindow:someWindow];


Then in dealloc, remember to release everything (i was using a shared stub window so I only call removeFromSuperView. 
dealloc - 

	[[NSNotificationCenter defaultCenter] removeObserver:self];    

	[_webView setFrameLoadDelegate:nil];
	
	// remove the subview from the host window:
	[_webView removeFromSuperview];
	[_webView setHostWindow:nil];
	[_webView release];

Also like the seperate task idea. My problem was that I am already in a &#039;helper&#039; task! 

--Tom</description>
		<content:encoded><![CDATA[<p>I found the problem, I think. Ok so I am a little late.</p>
<p>When you do the offscreen webview thing, you need to call </p>
<p>[_webView setHostWindow:someWindow] on your webview. That is in the docs<br />
what I found was that I got your exact problem until I added the webview as a subview of the window:<br />
		[[someWindow contentView] addSubview:_webView];<br />
		[_webView setHostWindow:someWindow];</p>
<p>Then in dealloc, remember to release everything (i was using a shared stub window so I only call removeFromSuperView.<br />
dealloc &#8211; </p>
<p>	[[NSNotificationCenter defaultCenter] removeObserver:self];    </p>
<p>	[_webView setFrameLoadDelegate:nil];</p>
<p>	// remove the subview from the host window:<br />
	[_webView removeFromSuperview];<br />
	[_webView setHostWindow:nil];<br />
	[_webView release];</p>
<p>Also like the seperate task idea. My problem was that I am already in a &#8216;helper&#8217; task! </p>
<p>&#8211;Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maciej Stachowiak</title>
		<link>http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/comment-page-1/#comment-3609</link>
		<dc:creator>Maciej Stachowiak</dc:creator>
		<pubDate>Sat, 30 Sep 2006 22:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/#comment-3609</guid>
		<description>We&#039;d appreciate it if you could check if the bug still exists with a recent nightly of WebKit, and if so, report it at http://bugs.webkit.org/</description>
		<content:encoded><![CDATA[<p>We&#8217;d appreciate it if you could check if the bug still exists with a recent nightly of WebKit, and if so, report it at <a href="http://bugs.webkit.org/" rel="nofollow">http://bugs.webkit.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peliom</title>
		<link>http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/comment-page-1/#comment-3598</link>
		<dc:creator>peliom</dc:creator>
		<pubDate>Sat, 30 Sep 2006 00:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/#comment-3598</guid>
		<description>I used the &lt;code&gt; tag which apparently doesn&#039;t work very well.  &lt;tt&gt; to the rescue!</description>
		<content:encoded><![CDATA[<p>I used the &lt;code&gt; tag which apparently doesn&#8217;t work very well.  &lt;tt&gt; to the rescue!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajbot</title>
		<link>http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/comment-page-1/#comment-3597</link>
		<dc:creator>rajbot</dc:creator>
		<pubDate>Sat, 30 Sep 2006 00:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/#comment-3597</guid>
		<description>P.S. WTF is wrong with our templates? Nothing is rendering correctly.</description>
		<content:encoded><![CDATA[<p>P.S. WTF is wrong with our templates? Nothing is rendering correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajbot</title>
		<link>http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/comment-page-1/#comment-3596</link>
		<dc:creator>rajbot</dc:creator>
		<pubDate>Sat, 30 Sep 2006 00:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.tikirobot.net/wp/2006/09/29/crashes-in-webkit-dodge-or-parry/#comment-3596</guid>
		<description>Is the bug fixed the &lt;a href=&quot;http://webkit.org/building/checkout.html&quot; rel=&quot;nofollow&quot;&gt;subversion repository&lt;/a&gt;? I come across tons of WebKit bugs that are fixed in the repository. The great thing about WebKit being Open Sores is that you can embed the latest versions of the frameworks in your app, and set the right env variables to tell WebKit to use those instead, like the nightly Safari builds do..</description>
		<content:encoded><![CDATA[<p>Is the bug fixed the <a href="http://webkit.org/building/checkout.html" rel="nofollow">subversion repository</a>? I come across tons of WebKit bugs that are fixed in the repository. The great thing about WebKit being Open Sores is that you can embed the latest versions of the frameworks in your app, and set the right env variables to tell WebKit to use those instead, like the nightly Safari builds do..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

