<?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: JavaScript sandbox using Web Workers</title>
	<atom:link href="http://ajaxian.com/archives/javascript-sandbox-using-web-workers/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/javascript-sandbox-using-web-workers</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: almo</title>
		<link>http://ajaxian.com/archives/javascript-sandbox-using-web-workers/comment-page-1#comment-284007</link>
		<dc:creator>almo</dc:creator>
		<pubDate>Tue, 08 Jun 2010 06:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6993#comment-284007</guid>
		<description>I tested jsandbox it in recent versions of  FireFox and Chrome without any problems (it&#039;s great!), but it seems the &#039;load&#039; function fails in Safari (using 4.04). It does not appear to be a browser-thread-support issue as the implementation on http://pmav.eu/stuff/javascript-webworkers/ works in Safari. Is there any planned updates to the script?</description>
		<content:encoded><![CDATA[<p>I tested jsandbox it in recent versions of  FireFox and Chrome without any problems (it&#8217;s great!), but it seems the &#8216;load&#8217; function fails in Safari (using 4.04). It does not appear to be a browser-thread-support issue as the implementation on <a href="http://pmav.eu/stuff/javascript-webworkers/" rel="nofollow">http://pmav.eu/stuff/javascript-webworkers/</a> works in Safari. Is there any planned updates to the script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EliGrey</title>
		<link>http://ajaxian.com/archives/javascript-sandbox-using-web-workers/comment-page-1#comment-274349</link>
		<dc:creator>EliGrey</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6993#comment-274349</guid>
		<description>@randomrandom I never said anything about jsandbox. I was talking about Dean Edwards&#039; insecure attempt at making a sandbox. I&#039;m the guy who wrote jsandbox.</description>
		<content:encoded><![CDATA[<p>@randomrandom I never said anything about jsandbox. I was talking about Dean Edwards&#8217; insecure attempt at making a sandbox. I&#8217;m the guy who wrote jsandbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randomrandom</title>
		<link>http://ajaxian.com/archives/javascript-sandbox-using-web-workers/comment-page-1#comment-274277</link>
		<dc:creator>randomrandom</dc:creator>
		<pubDate>Tue, 07 Jul 2009 03:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6993#comment-274277</guid>
		<description>@EliGrey Try reading the post before posting comments. Code running in the sandbox does not have access to parent/window/etc. It&#039;s a web worker thread, which does not run in the context of the web page.</description>
		<content:encoded><![CDATA[<p>@EliGrey Try reading the post before posting comments. Code running in the sandbox does not have access to parent/window/etc. It&#8217;s a web worker thread, which does not run in the context of the web page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/javascript-sandbox-using-web-workers/comment-page-1#comment-274148</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Thu, 25 Jun 2009 19:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6993#comment-274148</guid>
		<description>@EliGrey I think you are being a bit harsh on Dean&#039;s approach. He popularized/discovered the iframe approach that allows devs to  access/use/extend native objects that are separate from the normal documents without using eval or function decompilation via toString(). Iframes, while still buggy in areas (IE https, Safari 2), also offer support for more than just Firefox 3.5, Chrome 2, and Safari 4. I think there is plenty of things &quot;special&quot; there.</description>
		<content:encoded><![CDATA[<p>@EliGrey I think you are being a bit harsh on Dean&#8217;s approach. He popularized/discovered the iframe approach that allows devs to  access/use/extend native objects that are separate from the normal documents without using eval or function decompilation via toString(). Iframes, while still buggy in areas (IE https, Safari 2), also offer support for more than just Firefox 3.5, Chrome 2, and Safari 4. I think there is plenty of things &#8220;special&#8221; there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EliGrey</title>
		<link>http://ajaxian.com/archives/javascript-sandbox-using-web-workers/comment-page-1#comment-274146</link>
		<dc:creator>EliGrey</dc:creator>
		<pubDate>Thu, 25 Jun 2009 16:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6993#comment-274146</guid>
		<description>Dean Edwards&#039; &quot;sandboxing&quot; script doesn&#039;t do any sandboxing. It just evals code in the context an iframe, which is completely insecure. The &quot;sandboxed&quot; code could still access the parent window. For example, &lt;code&gt;sandbox.eval(&quot;parent.doWhatever()&quot;)&lt;/code&gt;.

Dean&#039;s code can be simplified to to just using &lt;code&gt;iframe.contentWindow.eval&lt;/code&gt;. Nothing special there.</description>
		<content:encoded><![CDATA[<p>Dean Edwards&#8217; &#8220;sandboxing&#8221; script doesn&#8217;t do any sandboxing. It just evals code in the context an iframe, which is completely insecure. The &#8220;sandboxed&#8221; code could still access the parent window. For example, <code>sandbox.eval("parent.doWhatever()")</code>.</p>
<p>Dean&#8217;s code can be simplified to to just using <code>iframe.contentWindow.eval</code>. Nothing special there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

