<?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 for Rooftop lab</title>
	<atom:link href="http://blog.mozilla.com/jorendorff/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/jorendorff</link>
	<description>where we're building a better SpiderMonkey from parts</description>
	<lastBuildDate>Sat, 28 Jan 2012 06:07:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Wanted: An extension for profiling Firefox by vineel</title>
		<link>http://blog.mozilla.com/jorendorff/2009/11/24/wanted-an-extension-for-profiling-firefox/comment-page-1/#comment-38079</link>
		<dc:creator>vineel</dc:creator>
		<pubDate>Sat, 28 Jan 2012 06:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=45#comment-38079</guid>
		<description>Sir,
I &#039;m currently a software engineer at Siemens R &amp; D Pune. I understand Java and C++ . I &#039;m interested in contributing to this.

Regards,
Venkata Vineel</description>
		<content:encoded><![CDATA[<p>Sir,<br />
I &#8216;m currently a software engineer at Siemens R &amp; D Pune. I understand Java and C++ . I &#8216;m interested in contributing to this.</p>
<p>Regards,<br />
Venkata Vineel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mozilla summer internships by Akansha Singh</title>
		<link>http://blog.mozilla.com/jorendorff/2008/11/17/mozilla-summer-internships/comment-page-1/#comment-37869</link>
		<dc:creator>Akansha Singh</dc:creator>
		<pubDate>Tue, 17 Jan 2012 20:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=31#comment-37869</guid>
		<description>i am a Btech student from DAIICT Gujarat and is willing to apply for summer internship in year 2012..
please respond as soon as possible</description>
		<content:encoded><![CDATA[<p>i am a Btech student from DAIICT Gujarat and is willing to apply for summer internship in year 2012..<br />
please respond as soon as possible</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mozilla summer internships by Harshit Shrivastava</title>
		<link>http://blog.mozilla.com/jorendorff/2008/11/17/mozilla-summer-internships/comment-page-1/#comment-37312</link>
		<dc:creator>Harshit Shrivastava</dc:creator>
		<pubDate>Mon, 26 Dec 2011 18:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=31#comment-37312</guid>
		<description>Hi
Does Mozilla also offer a 6 week summer intership? Also i would like to know if Mozilla offers internship at some place in India, apart from the US?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
Does Mozilla also offer a 6 week summer intership? Also i would like to know if Mozilla offers internship at some place in India, apart from the US?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Anatomy of a JavaScript object by peter</title>
		<link>http://blog.mozilla.com/jorendorff/2008/11/17/anatomy-of-a-javascript-object/comment-page-1/#comment-35454</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 04 Oct 2011 21:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=28#comment-35454</guid>
		<description>if the shape of an object would be named it could act as the type of the object. it is interesting that objects are classified by their shape. the shape defines its (unnamed) type. inheritance relation is given if the shape of an object is included in the shape of another.</description>
		<content:encoded><![CDATA[<p>if the shape of an object would be named it could act as the type of the object. it is interesting that objects are classified by their shape. the shape defines its (unnamed) type. inheritance relation is given if the shape of an object is included in the shape of another.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Harmony modules and asynchronous script loading and document.write (oh my) by jorendorff</title>
		<link>http://blog.mozilla.com/jorendorff/2011/09/19/harmony-modules-and-asynchronous-script-loading-and-document-write-oh-my/comment-page-1/#comment-35173</link>
		<dc:creator>jorendorff</dc:creator>
		<pubDate>Wed, 21 Sep 2011 22:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=88#comment-35173</guid>
		<description>Blake: Yeah, I didn’t make that clear at all. Sorry. “JavaScript caller waiting” is meant as a rule of thumb. I don’t think we should actually specify examining the stack to see if there’s a JS stack frame. If we went that way, then for consistency, the relevant notion would actually have to be formally specified—currently it is not. (Note that proper tail calls, for example, or self-hosting some APIs, could affect whether there is anything “waiting”.) It sounds hard, and it would make it very difficult for developers to figure out from the spec what to expect.

Instead, for each case (that is, for each place in the HTML spec and the ES-Harmony spec where a script is compiled), we should specify whether or not a blocking script load is permitted. So blocking script loads will be allowed or not based on the immediate context of the script, not the whole stack.

The ES-Harmony grammar will note that &lt;code&gt;from &quot;url&quot;&lt;/code&gt; is banned in contexts where script loads aren’t allowed.

We can use the “JavaScript caller waiting” rule of thumb to figure out what to specify for each case. For example, clearly &lt;code&gt;eval&lt;/code&gt; typically has a caller waiting, so we’ll ban blocking script loads there (even if eval happens to have been tail-called from setTimeout code, so that nobody is really waiting for the answer at all!) and allow them in &lt;code&gt;evalAsync&lt;/code&gt;.

That’s my intuition. I could be wrong. The relevant parts of the HTML spec are still new to me.</description>
		<content:encoded><![CDATA[<p>Blake: Yeah, I didn’t make that clear at all. Sorry. “JavaScript caller waiting” is meant as a rule of thumb. I don’t think we should actually specify examining the stack to see if there’s a JS stack frame. If we went that way, then for consistency, the relevant notion would actually have to be formally specified—currently it is not. (Note that proper tail calls, for example, or self-hosting some APIs, could affect whether there is anything “waiting”.) It sounds hard, and it would make it very difficult for developers to figure out from the spec what to expect.</p>
<p>Instead, for each case (that is, for each place in the HTML spec and the ES-Harmony spec where a script is compiled), we should specify whether or not a blocking script load is permitted. So blocking script loads will be allowed or not based on the immediate context of the script, not the whole stack.</p>
<p>The ES-Harmony grammar will note that <code>from "url"</code> is banned in contexts where script loads aren’t allowed.</p>
<p>We can use the “JavaScript caller waiting” rule of thumb to figure out what to specify for each case. For example, clearly <code>eval</code> typically has a caller waiting, so we’ll ban blocking script loads there (even if eval happens to have been tail-called from setTimeout code, so that nobody is really waiting for the answer at all!) and allow them in <code>evalAsync</code>.</p>
<p>That’s my intuition. I could be wrong. The relevant parts of the HTML spec are still new to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Harmony modules and asynchronous script loading and document.write (oh my) by jorendorff</title>
		<link>http://blog.mozilla.com/jorendorff/2011/09/19/harmony-modules-and-asynchronous-script-loading-and-document-write-oh-my/comment-page-1/#comment-35172</link>
		<dc:creator>jorendorff</dc:creator>
		<pubDate>Wed, 21 Sep 2011 22:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=88#comment-35172</guid>
		<description>pd: Harmony is a code name for the next major edition of the ECMAScript standard. It’s being put together now. You can see what has been proposed here: wiki.ecmascript.org/doku.php?id=harmony:proposals

As that page says: “Lacking a formal language specification, the following list is not definitive, but it should reflect consensus achieved so far in TC39.”</description>
		<content:encoded><![CDATA[<p>pd: Harmony is a code name for the next major edition of the ECMAScript standard. It’s being put together now. You can see what has been proposed here: wiki.ecmascript.org/doku.php?id=harmony:proposals</p>
<p>As that page says: “Lacking a formal language specification, the following list is not definitive, but it should reflect consensus achieved so far in TC39.”</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Harmony modules and asynchronous script loading and document.write (oh my) by Blake Kaplan</title>
		<link>http://blog.mozilla.com/jorendorff/2011/09/19/harmony-modules-and-asynchronous-script-loading-and-document-write-oh-my/comment-page-1/#comment-35148</link>
		<dc:creator>Blake Kaplan</dc:creator>
		<pubDate>Tue, 20 Sep 2011 21:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=88#comment-35148</guid>
		<description>Why wouldn&#039;t the nested script case fall into the &quot;JavaScript caller waiting&quot; category of blocked module loads?</description>
		<content:encoded><![CDATA[<p>Why wouldn&#8217;t the nested script case fall into the &#8220;JavaScript caller waiting&#8221; category of blocked module loads?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Harmony modules and asynchronous script loading and document.write (oh my) by pd</title>
		<link>http://blog.mozilla.com/jorendorff/2011/09/19/harmony-modules-and-asynchronous-script-loading-and-document-write-oh-my/comment-page-1/#comment-35136</link>
		<dc:creator>pd</dc:creator>
		<pubDate>Tue, 20 Sep 2011 14:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=88#comment-35136</guid>
		<description>This might be an interesting article ... if you remembered to link to somewhere that would tell the reader WTF Harmony is!</description>
		<content:encoded><![CDATA[<p>This might be an interesting article &#8230; if you remembered to link to somewhere that would tell the reader WTF Harmony is!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Harmony modules and asynchronous script loading and document.write (oh my) by jorendorff</title>
		<link>http://blog.mozilla.com/jorendorff/2011/09/19/harmony-modules-and-asynchronous-script-loading-and-document-write-oh-my/comment-page-1/#comment-35122</link>
		<dc:creator>jorendorff</dc:creator>
		<pubDate>Tue, 20 Sep 2011 05:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=88#comment-35122</guid>
		<description>Thanks, bz. That makes sense.

Function(&quot;module x from &#039;x.js&#039;&quot;) will throw a SyntaxError.</description>
		<content:encoded><![CDATA[<p>Thanks, bz. That makes sense.</p>
<p>Function(&#8220;module x from &#8216;x.js&#8217;&#8221;) will throw a SyntaxError.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Harmony modules and asynchronous script loading and document.write (oh my) by Boris</title>
		<link>http://blog.mozilla.com/jorendorff/2011/09/19/harmony-modules-and-asynchronous-script-loading-and-document-write-oh-my/comment-page-1/#comment-35118</link>
		<dc:creator>Boris</dc:creator>
		<pubDate>Tue, 20 Sep 2011 03:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/jorendorff/?p=88#comment-35118</guid>
		<description>&gt; silently make that script load asynchronously, just because
&gt; document.write() created it.

More precisely, continue execution of the script that executed the document.write call, then once it&#039;s done block the parser waiting for blottr.js to load before running the script that&#039;s using the module.

&gt; What happens if you try to load a module by assigning a string to an event
&gt; handler attribute 

Exactly the same thing that happens when you do new Function(&quot;module ....&quot;).  Event handler attribute values are just function bodies compiled with a particular list of formal parameters and in a particular scope.  What _does_ happen in this case with new Function?

Note that compile errors in event handler attributes are ignored, by the way (apart from being reported to an error console or whatnot); if they have a SyntaxError you just get no handler.</description>
		<content:encoded><![CDATA[<p>&gt; silently make that script load asynchronously, just because<br />
&gt; document.write() created it.</p>
<p>More precisely, continue execution of the script that executed the document.write call, then once it&#8217;s done block the parser waiting for blottr.js to load before running the script that&#8217;s using the module.</p>
<p>&gt; What happens if you try to load a module by assigning a string to an event<br />
&gt; handler attribute </p>
<p>Exactly the same thing that happens when you do new Function(&#8220;module &#8230;.&#8221;).  Event handler attribute values are just function bodies compiled with a particular list of formal parameters and in a particular scope.  What _does_ happen in this case with new Function?</p>
<p>Note that compile errors in event handler attributes are ignored, by the way (apart from being reported to an error console or whatnot); if they have a SyntaxError you just get no handler.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

