<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mozilla Add-ons Blog &#187; builder</title>
	<atom:link href="http://blog.mozilla.org/addons/category/builder/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.org/addons</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 19:53:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Jetpack Project: weekly update for May 14, 2013</title>
		<link>http://blog.mozilla.org/addons/2013/05/14/jetpack-project-weekly-update-for-may-14-2013/</link>
		<comments>http://blog.mozilla.org/addons/2013/05/14/jetpack-project-weekly-update-for-may-14-2013/#comments</comments>
		<pubDate>Tue, 14 May 2013 20:26:01 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6406</guid>
		<description><![CDATA[WE SHIPPED!! Unless you&#8217;re hiding under a rock, you are probably aware that the Mozilla Project has released Firefox 21 today. Additionally, unless you&#8217;ve been completely ignoring my recent posts on this blog, you might also realize that Firefox 21 signals a new chapter in the life of the Jetpack project, as we ship the&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/05/14/jetpack-project-weekly-update-for-may-14-2013/" title="Read the rest of &#8220;Jetpack Project: weekly update for May 14, 2013&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<h1>WE SHIPPED!!</h1>
<p>Unless you&#8217;re hiding under a rock, you are probably aware that the Mozilla Project has <a target="_blank" href="http://www.mozilla.org/en-US/firefox/21.0/releasenotes/">released Firefox 21 today</a>. Additionally, unless you&#8217;ve been completely ignoring my <a target="_blank" href="https://blog.mozilla.org/addons/2013/02/23/jetpack-the-road-ahead/">recent</a> <a target="_blank" href="https://blog.mozilla.org/addons/2013/02/26/jetpack-the-road-ahead-part-2/">posts</a> on this blog, you might also realize that Firefox 21 signals a new chapter in the life of the Jetpack project, as we ship the SDK&#8217;s module loader and APIs in Firefox 21.</p>
<p>To me this is a <em>big deal</em>, for add-on developers, for Firefox developers, for the entire project. I&#8217;d like to thank everyone involved for all the hard work, but in particular there are a few people who deserve special mention:</p>
<ul>
<li>Atul Varma &amp; Aza Raskin started Jetpack in 2009 in Mozilla Labs, then <a target="_blank" href="http://www.toolness.com/wp/2010/01/evolving-firefox-extensions/">rebooted it</a> in 2010, ushering in the modern era of content scripts, CommonJS modules the command-line cfx tool and <a target="_blank" href="http://builder.addons.mozilla.org/">Add-on Builder</a>.</li>
<li>Dietrich Ayala, David Mason, Myk Melez &amp; Brian Warner who guided the project through the &#8216;re-boot&#8217; phase, always with an eye to landing Jetpack&#8217;s capabilities in Firefox and revolutionizing how Firefox features are made.</li>
<li>Dave Townsend, Irakli Gozalishvili and the rest of the current Jetpack team who have done a ton of work coordinating a series of important changes to make the SDK fit nicely into mozilla-central.</li>
<li>Various Mozilla Labs engineers including Shane Caraveo, Anant Narayanan, Andrew Sutherland &amp; David Ascher who kicked the tires and built prototyped their own crazy ideas based on our shaky prototypes and beta releases.</li>
<li>Our <a target="_blank" href="https://github.com/mozilla/addon-sdk/blob/master/doc/dev-guide-source/credits.md">fantastic contributors</a> who keep showing up with great code for new features and bug fixes.</li>
</ul>
<p>Now that we ship with Firefox I have decided to dial back the frequency of these posts to every 6 weeks on uplift and instead highlight for developers the new features and bug fixes that have landed in the recent Nightly cycle. As always if you have questions, feedback or want to get involved you can find us on the <a target="_blank" href="https://wiki.mozilla.org/Jetpack/">wiki</a>, on the <a target="_blank" href="https://groups.google.com/forum/#!forum/mozilla-labs-jetpack">email list</a> and of course in #jetpack on irc.mozilla.org.</p>
<h3>Quick Stats</h3>
<ul>
<li>Total <a href="https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&#038;bug_status=NEW&#038;bug_status=ASSIGNED&#038;bug_status=REOPENED&#038;product=Add-on%20SDK&#038;known_name=Jetpack-Open" target="_blank">open bugs</a>: 505</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-05-14&#038;chfield=[Bug%20creation]&#038;chfieldfrom=2013-05-06&#038;product=Add-on%20SDK" target="_blank">created last week</a>: 15</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-05-14&#038;chfield=resolution&#038;chfieldfrom=2013-05-06&#038;chfieldvalue=FIXED&#038;product=Add-on%20SDK" target="_blank">fixed last week</a>: 13</li>
<li>Total SDK-based Add-ons <a href="https://addons.mozilla.org/en-US/firefox/tag/jetpack?appver=20.0" target="_blank">on AMO</a>: 1,809</li>
<li>Open <a href="https://github.com/mozilla/addon-sdk/pulls" target="_blank">pull requests</a> on Github: 54</li>
</ul>
<p><em style="font-size: 85%;">Note: the stats above are based on the queries I linked to for each item. If you have suggestions on how these queries might be made more accurate,please comment below. Stats generated at 2013-05-14 10:39:08 PDT</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/05/14/jetpack-project-weekly-update-for-may-14-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jetpack Project: weekly update for April 09, 2013</title>
		<link>http://blog.mozilla.org/addons/2013/04/09/jetpack-project-weekly-update-for-april-09-2013/</link>
		<comments>http://blog.mozilla.org/addons/2013/04/09/jetpack-project-weekly-update-for-april-09-2013/#comments</comments>
		<pubDate>Tue, 09 Apr 2013 19:47:39 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6253</guid>
		<description><![CDATA[Project News Help out Jetpack by using Stack Overflow! You may not be aware, but one of the most common sites where people ask questions about the Add-on SDK is actually on Stackoverflow.com. Questions are marked with the [firefox-addon-sdk] tag, and several new ones appear each week. While you are there, you should also check&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/04/09/jetpack-project-weekly-update-for-april-09-2013/" title="Read the rest of &#8220;Jetpack Project: weekly update for April 09, 2013&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<h3>Project News</h3>
<p>Help out Jetpack by using Stack Overflow! You may not be aware, but one of the most common sites where people ask questions about the Add-on SDK is actually on Stackoverflow.com. Questions are marked with the <a target="_blank" href="http://stackoverflow.com/questions/tagged/firefox-addon-sdk">[firefox-addon-sdk]</a> tag, and several new ones appear each week. While you are there, you should also check out the many questions tagged with <a target="_blank" href="http://stackoverflow.com/questions/tagged/firefox-addon">[firefox-addon]</a> as well. If you&#8217;ve got questions about add-on development yourself or don&#8217;t mind helping others, Stack Overflow is a great place to contribute.</p>
<h3>Quick Stats</h3>
<ul>
<li>Total <a href="https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&#038;bug_status=NEW&#038;bug_status=ASSIGNED&#038;bug_status=REOPENED&#038;product=Add-on%20SDK&#038;known_name=Jetpack-Open" target="_blank">open bugs</a>: 522</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-04-09&#038;chfield=[Bug%20creation]&#038;chfieldfrom=2013-04-01&#038;product=Add-on%20SDK" target="_blank">created last week</a>: 45</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-04-09&#038;chfield=resolution&#038;chfieldfrom=2013-04-01&#038;chfieldvalue=FIXED&#038;product=Add-on%20SDK" target="_blank">fixed last week</a>: 19</li>
<li>Total SDK-based Add-ons <a href="https://addons.mozilla.org/en-US/firefox/tag/jetpack?appver=20.0" target="_blank">on AMO</a>: 1,706</li>
<li>Open <a href="https://github.com/mozilla/addon-sdk/pulls" target="_blank">pull requests</a> on Github: 48</li>
</ul>
<p><em style="font-size: 85%;">Note: the stats above are based on the queries I linked to for each item. If you have suggestions on how these queries might be made more accurate,please comment below. Stats generated at 2013-04-09 08:23:50 PDT</em></p>
<h3>Meeting Brief</h3>
<ul>
<li>we&#8217;ve landed the final work to make Panels work with per-Window private browsing, to be released in Firefox 22.</li>
<li>we&#8217;re close to landing platform support for cross-domain xhr in content scripts</li>
<li>the Firefox team dropped by to talk about collaborating on new Add-on friendly features in Australis.</li>
</ul>
<p>Full minutes are available here:<br />
<a href="https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-04-09#Minutes" target="_blank">https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-04-09#Minutes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/04/09/jetpack-project-weekly-update-for-april-09-2013/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jetpack Project: weekly update for April 02, 2013</title>
		<link>http://blog.mozilla.org/addons/2013/04/02/jetpack-project-weekly-update-for-april-02-2013/</link>
		<comments>http://blog.mozilla.org/addons/2013/04/02/jetpack-project-weekly-update-for-april-02-2013/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 19:57:31 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6208</guid>
		<description><![CDATA[Project News After last Tuesday&#8217;s release of Add-on SDK 1.14, we updated you on Wednesday about changes in console.log behaviour, and then again on Thursday once we&#8217;d updated the AMO Validator and Add-on Builder sites to correctly support SDK 1.14. The current status is that we&#8217;re tracking a bug in the AMO validator which produces&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/04/02/jetpack-project-weekly-update-for-april-02-2013/" title="Read the rest of &#8220;Jetpack Project: weekly update for April 02, 2013&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<h3>Project News</h3>
<p>After last Tuesday&#8217;s release of Add-on SDK 1.14, we updated you on Wednesday about changes in <a target="_blank" href="https://blog.mozilla.org/addons/2013/03/27/changes-to-console-log-behaviour-in-sdk-1-14/">console.log behaviour</a>, and <a target="_blank" href="https://blog.mozilla.org/addons/2013/03/28/add-on-sdk-1-14-now-available-on-add-on-builder/">then again on Thursday</a> once we&#8217;d updated the AMO Validator and Add-on Builder sites to correctly support SDK 1.14. The current status is that we&#8217;re tracking <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=856475">a bug in the AMO validator</a> which produces two erroneous warnings from add-ons packed with SDK 1.14. We expect the validator will be updated to fix this on Thursday afternoon ( PST ).</p>
<h3>Quick Stats</h3>
<ul>
<li>Total <a href="https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&#038;bug_status=NEW&#038;bug_status=ASSIGNED&#038;bug_status=REOPENED&#038;product=Add-on%20SDK&#038;known_name=Jetpack-Open" target="_blank">open bugs</a>: 506</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-04-02&#038;chfield=[Bug%20creation]&#038;chfieldfrom=2013-03-25&#038;product=Add-on%20SDK" target="_blank">created last week</a>: 45</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-04-02&#038;chfield=resolution&#038;chfieldfrom=2013-03-25&#038;chfieldvalue=FIXED&#038;product=Add-on%20SDK" target="_blank">fixed last week</a>: 24</li>
<li>Total SDK-based Add-ons <a href="https://addons.mozilla.org/en-US/firefox/tag/jetpack?appver=20.0" target="_blank">on AMO</a>: 1,696</li>
<li>Open <a href="https://github.com/mozilla/addon-sdk/pulls" target="_blank">pull requests</a> on Github: 47</li>
</ul>
<p><em style="font-size: 85%;">Note: the stats above are based on the queries I linked to for each item. If you have suggestions on how these queries might be made more accurate,please comment below. Stats generated at 2013-04-02 11:39:07 PDT</em></p>
<h3>Meeting Brief</h3>
<ul>
<li>High priority: Irakli is closing out Panels support for Fx22, cross-domain work is moving ahead, other items are on track.</li>
<li>SDK: Wes proposes new Firefox-version-centric tagging scheme for > 1.14.</li>
<li>Roundtable: dcamp is changing the devtools to use Jetpack&#8217;s loader, is looking for alternatives to his chrome url hack</li>
</ul>
<p>Full minutes are available here:<br />
<a href="https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-04-02#Minutes" target="_blank">https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-04-02#Minutes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/04/02/jetpack-project-weekly-update-for-april-02-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add-on SDK 1.14 now available on Add-on Builder</title>
		<link>http://blog.mozilla.org/addons/2013/03/28/add-on-sdk-1-14-now-available-on-add-on-builder/</link>
		<comments>http://blog.mozilla.org/addons/2013/03/28/add-on-sdk-1-14-now-available-on-add-on-builder/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 22:56:41 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6193</guid>
		<description><![CDATA[As you probably know, Add-on SDK 1.14 was released on Tuesday. I&#8217;m pleased to also announce that Add-on Builder has been updated to support SDK 1.14. As well, the AMO Add-on Validator has also been updated to support SDK 1.14. The one caveat with using Add-on Builder with SDK 1.14 is that the behaviour of&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/03/28/add-on-sdk-1-14-now-available-on-add-on-builder/" title="Read the rest of &#8220;Add-on SDK 1.14 now available on Add-on Builder&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>As you probably know, <a target="_blank" href="https://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/">Add-on SDK 1.14</a> was released on Tuesday. I&#8217;m pleased to also announce that Add-on Builder has been updated to support SDK 1.14. As well, the AMO Add-on Validator has also been updated to support SDK 1.14.</p>
<p>The one caveat with using Add-on Builder with SDK 1.14 is that the behaviour of console.log changed. If you rely on the Error Console window to view messages from console.log, you have two options:</p>
<ol>
<li>Change all calls to console.log to console.error, which will print out scary looking red messages in the Error Console&#8217;s &#8216;Errors&#8217; tab</li>
<li>Follow <a target="_blank" href="https://blog.mozilla.org/addons/2013/03/27/changes-to-console-log-behaviour-in-sdk-1-14/">the instructions</a> detailed in my blog post from yesterday to ensure that any calls in your add-on code to appear as they previously did in the &#8216;Messages&#8217; tab of the Error Console window.</li>
</ol>
<p>We&#8217;ve <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=855798">logged a bug</a> to improve this experience via an update to the Add-on Builder Helper add-on so this will not be an issue in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/03/28/add-on-sdk-1-14-now-available-on-add-on-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes to console.log behaviour in SDK 1.14</title>
		<link>http://blog.mozilla.org/addons/2013/03/27/changes-to-console-log-behaviour-in-sdk-1-14/</link>
		<comments>http://blog.mozilla.org/addons/2013/03/27/changes-to-console-log-behaviour-in-sdk-1-14/#comments</comments>
		<pubDate>Wed, 27 Mar 2013 23:11:46 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6159</guid>
		<description><![CDATA[One change in SDK 1.14 that has already surprised some people in the community is a change in the visibility of messages printed from console.log. In 1.14 we added some additional features to the console API and also set the default log level to &#8220;error&#8221; instead of &#8220;info&#8221; for add-ons installed into Firefox via the&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/03/27/changes-to-console-log-behaviour-in-sdk-1-14/" title="Read the rest of &#8220;Changes to console.log behaviour in SDK 1.14&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>One change in SDK 1.14 that has <a href="https://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/comment-page-1/#comment-162765" target="_blank">already surprised some people</a> in the community is a change in the visibility of messages printed from <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.14/dev-guide/tutorials/logging.html">console.log</a>.</p>
<p>In 1.14 we added some additional features to the console API and also set the default log level to &#8220;error&#8221; instead of &#8220;info&#8221; for add-ons installed into Firefox via the Add-on Manager and Add-on Builder Helper as well as tools like the <a href="https://addons.mozilla.org/en-US/firefox/addon/autoinstaller/" target="_blank">Extension Auto-installer</a>.</p>
<p>An unfortunate side-effect is that by default, developers using these tools will no longer see messages from <code>console.log()</code> in the <a href="https://developer.mozilla.org/en-US/docs/Error_Console">jsconsole window</a>.</p>
<p>We have provided the ability for developers to set preferences to control logging behavior both globally and for a specific add-on, and by setting one of these preferences you can override the default.</p>
<h3>Logging levels</h3>
<p>The <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.14/dev-guide/console.html">console module</a> now defines a range of logging levels:</p>
<ol>
<li><strong>all</strong>: log calls to any <code>console</code> method</li>
<li><strong>debug</strong>: log calls to <code>debug()</code>, <code>log()</code>, <code>info()</code>, <code>warn()</code>, <code>error()</code></li>
<li><strong>info</strong>: log calls to <code>log()</code>, <code>info()</code>, <code>warn()</code>, <code>error()</code></li>
<li><strong>warn</strong>: log calls to <code>warn()</code> and <code>error()</code></li>
<li><strong>error</strong>: log calls to <code>error()</code></li>
<li><strong>off</strong>: log nothing</li>
</ol>
<h3>New Preferences</h3>
<p>We have defined two new preferences, which set the logging level either globally for all SDK add-ons, or for a specific SDK add-on:</p>
<p><strong><em>extensions.sdk.console.logLevel</em></strong>: this preference can be added to about:config to change the logging level of <em>all</em> installed SDK-based add-ons.</p>
<p><strong><em>extensions.[extension-id].sdk.console.logLevel</em></strong>: this preference can be added to about:config to change the logging level of a specific add-on. This preference overrides the global preference.</p>
<p>The value for each preference is the desired logging level, given as a string. If neither preference is set, the logging level defaults to &#8220;error&#8221;.</p>
<h3>Restoring the old behavior</h3>
<p>If you want to restore the previous behavior in which console.log messages are visible in the error log, please do the following:</p>
<ol>
<li>open about:config</li>
<li>right-click and select New -&gt; String</li>
<li>for the preference name, enter &#8216;extensions.sdk.console.logLevel&#8217;</li>
<li>for the preference value, enter &#8216;all&#8217;</li>
<li>restart Firefox</li>
</ol>
<p>Here is a screenshot of what the result should look like:</p>
<p><a href="http://blog.mozilla.org/addons/files/2013/03/about_config.png"><img class="alignnone size-full wp-image-6160" alt="about_config" src="http://blog.mozilla.org/addons/files/2013/03/about_config.png" width="640" height="512" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/03/27/changes-to-console-log-behaviour-in-sdk-1-14/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Jetpack Project: weekly update for March 26, 2013</title>
		<link>http://blog.mozilla.org/addons/2013/03/26/jetpack-project-weekly-update-for-march-26-2013/</link>
		<comments>http://blog.mozilla.org/addons/2013/03/26/jetpack-project-weekly-update-for-march-26-2013/#comments</comments>
		<pubDate>Wed, 27 Mar 2013 01:33:38 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6119</guid>
		<description><![CDATA[Project News The Jetpack team released Add-on SDK 1.14 a few hours ago! This is a huge step on our journey towards integrating Jetpack with Firefox. Quick Stats Total open bugs: 496 Bugs created last week: 48 Bugs fixed last week: 38 Total SDK-based Add-ons on AMO: 1,678 Open pull requests on Github: 42 Note:&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/03/26/jetpack-project-weekly-update-for-march-26-2013/" title="Read the rest of &#8220;Jetpack Project: weekly update for March 26, 2013&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<h3>Project News</h3>
<p>The Jetpack team <a target="_blank" href="https://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/">released Add-on SDK 1.14</a> a few hours ago! This is a huge step on our journey towards integrating Jetpack with Firefox.</p>
<h3>Quick Stats</h3>
<ul>
<li>Total <a href="https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&#038;bug_status=NEW&#038;bug_status=ASSIGNED&#038;bug_status=REOPENED&#038;product=Add-on%20SDK&#038;known_name=Jetpack-Open" target="_blank">open bugs</a>: 496</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-03-26&#038;chfield=[Bug%20creation]&#038;chfieldfrom=2013-03-18&#038;product=Add-on%20SDK" target="_blank">created last week</a>: 48</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-03-26&#038;chfield=resolution&#038;chfieldfrom=2013-03-18&#038;chfieldvalue=FIXED&#038;product=Add-on%20SDK" target="_blank">fixed last week</a>: 38</li>
<li>Total SDK-based Add-ons <a href="https://addons.mozilla.org/en-US/firefox/tag/jetpack?appver=19.0" target="_blank">on AMO</a>: 1,678</li>
<li>Open <a href="https://github.com/mozilla/addon-sdk/pulls" target="_blank">pull requests</a> on Github: 42</li>
</ul>
<p><em style="font-size: 85%;">Note: the stats above are based on the queries I linked to for each item. If you have suggestions on how these queries might be made more accurate,please comment below. Stats generated at 2013-03-26 09:31:12 PDT</em></p>
<h3>Meeting Brief</h3>
<ul>
<li>High Priority work: need to scope further PWPB work, gabor has nearly landed cross-domain content script support, panel positioning looks good to land this week, and discussion of next quarters batch of high-priority work.</li>
<li>SDK: we&#8217;re shipping software, also the tree is orange! On different branches, thankfully.</li>
<li>Roundtable: discussion on how to handle target releases for cfx vs the SDK apis now that we&#8217;ve landed. Looks like we should create a &#8216;cfx&#8217; bug component.</li>
</ul>
<p>Full minutes are available here:<br />
<a href="https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-03-26#Minutes" target="_blank">https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-03-26#Minutes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/03/26/jetpack-project-weekly-update-for-march-26-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.14!</title>
		<link>http://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/</link>
		<comments>http://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 22:25:47 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6121</guid>
		<description><![CDATA[I&#8217;m terribly pleased to announce the release of Add-on SDK 1.14! You can download the SDK directly in either zip or tarball format. As I&#8217;ve written previously, SDK 1.14 will be the last release of the SDK to include the SDK APIs. Once Firefox 21 ships the version of Firefox you are using will always&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/" title="Read the rest of &#8220;Announcing Add-on SDK 1.14!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m terribly pleased to announce the release of Add-on SDK 1.14! You can download the SDK directly in either <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.14.zip">zip</a> or <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.14.tar.gz">tarball</a> format.</p>
<p>As I&#8217;ve <a target="_blank" href="https://blog.mozilla.org/addons/?p=5976">written previously</a>, SDK 1.14 will be the last release of the SDK to include the SDK APIs. Once Firefox 21 ships the version of Firefox you are using will always have the latest and greatest version of the SDK apis. What is more, add-ons packed with Add-on SDK 1.14 <em>will always prefer</em> the APIs embedded in Firefox if they exist, providing a forward-compatibility benefit to developers.</p>
<p>We are working to update Add-on Builder and the Add-on validator on AMO within the next couple of days so that they properly support 1.14. I&#8217;ll update the <a href="https://groups.google.com/forum/#!forum/mozilla-labs-jetpack" target="_blank">mailing list</a> and <a href="http://twitter.com/#!/MozillaJetpack" target="_blank">twitter</a> once this work has been completed.</p>
<h3>What&#8217;s new?</h3>
<ul>
<li>Initial support for Per-window Private Browsing. Firefox 20 replaces the existing private browsing &#8216;mode&#8217; with an new feature that allows users to open private windows. A significant amount of work has been done to make this work for SDK-based add-ons.</li>
<li>Unique tab ids on both Android and Desktop Firefox, for easier tracking of specific tabs.</li>
</ul>
<p>You&#8217;ll find much more detail about SDK 1.14 in <a target="_blank" href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.14">the release notes</a>.</p>
<p>Some interesting stats about this release ( from the Github history between the 1.13.2 &amp; 1.14 tags ):</p>
<ul>
<li>329 changes in 117 pull requests between tags 1.13.2 and 1.14</li>
<li>Special thanks to our community contributors Brett Zamir, Cykesiopka, Dan Stevens, Dương, H. Nguyễn, Gregg Lind, Marc Chevrier and slash_at_ac.auone-net.jp</li>
</ul>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/03/26/announcing-add-on-sdk-1-14/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Jetpack Project: weekly update for March 19, 2013</title>
		<link>http://blog.mozilla.org/addons/2013/03/19/jetpack-project-weekly-update-for-march-19-2013/</link>
		<comments>http://blog.mozilla.org/addons/2013/03/19/jetpack-project-weekly-update-for-march-19-2013/#comments</comments>
		<pubDate>Wed, 20 Mar 2013 01:16:06 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6101</guid>
		<description><![CDATA[Project News We are releasing SDK 1.14rc2 tomorrow, which will also likely be tagged tomorrow as the 1.14 release candidate. In addition to this we are coordinating with the Firefox team and release-drivers to ensure that the code in 1.14 is exactly the same as what we will release in Firefox 21. If you&#8217;re maintaining&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/03/19/jetpack-project-weekly-update-for-march-19-2013/" title="Read the rest of &#8220;Jetpack Project: weekly update for March 19, 2013&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<h3>Project News</h3>
<ul>
<li>We are releasing SDK 1.14rc2 tomorrow, which will also likely be tagged tomorrow as the 1.14 release candidate. In addition to this we are coordinating with the Firefox team and release-drivers to ensure that the code in 1.14 is exactly the same as what we will release in Firefox 21. If you&#8217;re maintaining an SDK-based add-on, please help and test your code with ths new RC!</li>
<li>Last week&#8217;s work week in Sunnyvale yielded all sorts of amazing work, look for a post over on <a target="_blank" href="https://hacks.mozilla.org">hacks.mozilla.org</a> tomorrow for the full details.</li>
<li>Eddy <a target="_blank" href="">blogged yesterday</a> about his work on getting Firefox&#8217;s Browser Debugger working with SDK-based add-ons.</li>
</ul>
<h3>Quick Stats</h3>
<ul>
<li>Total <a href="https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&#038;bug_status=NEW&#038;bug_status=ASSIGNED&#038;bug_status=REOPENED&#038;product=Add-on%20SDK&#038;known_name=Jetpack-Open" target="_blank">open bugs</a>: 509</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-03-19&#038;chfield=[Bug%20creation]&#038;chfieldfrom=2013-03-11&#038;product=Add-on%20SDK" target="_blank">created last week</a>: 37</li>
<li>Bugs <a href="https://bugzilla.mozilla.org/buglist.cgi?chfieldto=2013-03-19&#038;chfield=resolution&#038;chfieldfrom=2013-03-11&#038;chfieldvalue=FIXED&#038;product=Add-on%20SDK" target="_blank">fixed last week</a>: 12</li>
<li>Total SDK-based Add-ons <a href="https://addons.mozilla.org/en-US/firefox/tag/jetpack?appver=19.0" target="_blank">on AMO</a>: 1,646</li>
<li>Open <a href="https://github.com/mozilla/addon-sdk/pulls" target="_blank">pull requests</a> on Github: 47</li>
</ul>
<p><em style="font-size: 85%;">Note: the stats above are based on the queries I linked to for each item. If you have suggestions on how these queries might be made more accurate,please comment below. Stats generated at 2013-03-19 09:20:18 PDT</em></p>
<h3>Meeting Brief</h3>
<ul>
<li>PWPB support is complete, but 1.14 &amp; Firefox 21 will ship with only partial support for Add-ons that opt in to work in Private Browsing mode.</li>
<li>Cross-domain capabilities and Panel Positioning changes are close to landing, SDK 1.14 re-packs are on track, and we need to re-evaluate high-priority items as we move into Q2.</li>
<li>SDK: 1.14 RC1 was released today &#8211; test! test!</li>
<li>Roundtable: discussion on prioritizing deep integrators over work targeted at casual add-on developers.</li>
</ul>
<p>Full minutes are available here:<br />
<a href="https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-03-19#Minutes" target="_blank">https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-03-19#Minutes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/03/19/jetpack-project-weekly-update-for-march-19-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Per-window private browsing and the Add-on SDK</title>
		<link>http://blog.mozilla.org/addons/2013/02/26/per-window-private-browsing-and-the-add-on-sdk/</link>
		<comments>http://blog.mozilla.org/addons/2013/02/26/per-window-private-browsing-and-the-add-on-sdk/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 05:17:20 +0000</pubDate>
		<dc:creator>wbamberg</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=6010</guid>
		<description><![CDATA[Update to the update! We&#8217;ve now figured out that we only need to repack add-ons that actually use the private-browsing module. If you don&#8217;t use private-browsing, you don&#8217;t need to do anything. If you use the private-browsing module in an add-on that&#8217;s hosted on AMO, then it will be marked incompatible with Firefox 20, and&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/02/26/per-window-private-browsing-and-the-add-on-sdk/" title="Read the rest of &#8220;Per-window private browsing and the Add-on SDK&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p><strong>Update to the update!</strong></p>
<p><strong>We&#8217;ve now figured out that we only need to repack add-ons that actually use the private-browsing module. </strong></p>
<ul>
<li><strong>If you don&#8217;t use private-browsing, you don&#8217;t need to do anything.</strong></li>
<li><strong>If you use the private-browsing module in an add-on that&#8217;s hosted on AMO, then it will be marked incompatible with Firefox 20, and will need to be repacked with SDK 1.14 when SDK 1.14 is released. We will repack it with SDK 1.14 if we can, and you will need to repack it yourself if you can&#8217;t. We will email you to let you know whether you need to do anything within a couple of days of releasing 1.14.<br />
</strong></li>
<li><strong>if you use the private-browsing module in an add-on that&#8217;s not hosted on AMO: then you will need to repack it with SDK 1.14, or it will start leaking your users&#8217; private data from Firefox 20 onwards.</strong></li>
</ul>
<hr />
<p><strong>Update: since the original version of this post, we&#8217;ve decided to make repacking with SDK 1.14 mandatory. Add-ons which are not repacked with SDK 1.14 will be marked as incompatible with Firefox 20.</strong></p>
<p><strong>We&#8217;re running a project to automatically repack as many AMO-hosted SDK add-ons as we can. AMO-hosted SDK add-ons that we can&#8217;t repack, and SDK add-ons not hosted on AMO, will need to be repacked by their authors once SDK 1.14 is release on March 26.</strong></p>
<p><strong>We&#8217;ll have another blog post outlining the repacking plan soon.</strong></p>
<hr />
<p>&nbsp;</p>
<p>Firefox 20 introduces major changes to the &#8220;private browsing&#8221; feature, which will affect add-ons developed using the SDK. This blog post explains what the change is, how the SDK is handling it, and what add-on developers will need to do as a result. In summary:</p>
<ul>
<li>if your add-on uses the <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.13/modules/sdk/private-browsing.html"><code>private-browsing</code> API</a>, you must <strong>repack it </strong>when SDK 1.14 is released on March 26th if you want your add-on to work properly on Firefox 20.</li>
<li>whether or not your add-on uses the <code>private-browsing</code> API, you must <strong>update it</strong> if you want your add-on to be able to see private windows on Firefox 20.</li>
</ul>
<h2>What&#8217;s per-window private browsing?</h2>
<p>Up to and including Firefox 19, private browsing has been a global property for the entire browser. When the user enters private browsing, the existing browsing session is suspended and a new blank window opens. This window is private, as are any other windows opened until the user chooses to exit private browsing, at which point all private windows are closed and the user is returned to the original non-private session.</p>
<p>Firefox 20 introduces <strong>per-window private browsing</strong>. This means that private browsing status is a property of an individual window. The user enters private browsing by opening a new private window. When they do this, any existing non-private windows are kept open, so the user will typically have both private and non-private windows open at the same time.</p>
<h2>How does the SDK handle this change?</h2>
<p>Under the old, global, private browsing model, add-ons can handle private browsing as a simple binary condition: while private browsing is active, don&#8217;t store any user data. The SDK&#8217;s <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.13/modules/sdk/private-browsing.html"><code>private-browsing</code> API</a> supports this by offering an <code>isActive</code> property to check whether the browser is in private browsing mode, alongside <code>start</code> and <code>stop</code> events to be notified when private browsing starts and stops.</p>
<p>Here&#8217;s an add-on that stores the titles of tabs the user loads, unless the browser is in private browsing mode:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">var</span> simpleStorage <span style="color: #339933;">=</span> require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;simple-storage&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>simpleStorage.<span style="color: #660066;">storage</span>.<span style="color: #660066;">titles</span><span style="color: #009900;">&#41;</span>
  simpleStorage.<span style="color: #660066;">storage</span>.<span style="color: #660066;">titles</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;tabs&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">on</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ready&quot;</span><span style="color: #339933;">,</span> <span style="color: #000066; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tab<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;private-browsing&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">isActive</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;storing...&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    simpleStorage.<span style="color: #660066;">storage</span>.<span style="color: #660066;">titles</span>.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span>tab.<span style="color: #660066;">title</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;not storing, private data&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The first SDK release to target Firefox 20 is SDK 1.14. This release updates the API to support per-window private browsing, and makes another important change: by default, SDK 1.14-based add-ons won&#8217;t see any private windows.</p>
<h3>Repacking your add-on</h3>
<p>Hiding private windows by default means that add-ons developers don&#8217;t need to update their code in order to respect per-window private browsing: all they need to do is repack their add-ons using SDK 1.14. The old API will log deprecation warnings, but will behave as if the user never enters private browsing:</p>
<ul>
<li><code>isActive</code> will always be <code>false</code>, and <code>start</code> and <code>stop </code>will never be triggered.</li>
<li>the add-on will never see private windows, or objects such as tabs that are associated with private windows</li>
<li>page-mods will not be matched for private windows</li>
</ul>
<p>You must repack your add-on though! If you don&#8217;t, it may not function correctly, and will leak user private data, because private windows will not be hidden. We&#8217;re working on a plan to help add-on developers repack add-ons with 1.14.</p>
<h3>Updating your code</h3>
<p>If you want to see private windows, you&#8217;ll need to set the following key in your <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.13/dev-guide/package-spec.html">&#8220;package.json&#8221;</a><br />
file:</p>
<pre>"permissions": {"private-browsing": true}</pre>
<p>Once you do that, you&#8217;ll see private windows, so if you store user data, you&#8217;ll need to use the new API to respect private browsing.</p>
<p>SDK 1.14 replaces the existing API with a new function <code>isPrivate() </code>that takes an object &#8211; a window, tab, or worker &#8211; as a parameter, and returns <code>true</code> if the object is a private window or is associated with a private window. So to update the add-on above, we could do something like this:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">var</span> simpleStorage <span style="color: #339933;">=</span> require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;simple-storage&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>simpleStorage.<span style="color: #660066;">storage</span>.<span style="color: #660066;">titles</span><span style="color: #009900;">&#41;</span>
  simpleStorage.<span style="color: #660066;">storage</span>.<span style="color: #660066;">titles</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;tabs&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">on</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ready&quot;</span><span style="color: #339933;">,</span> <span style="color: #000066; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tab<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;private-browsing&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">isPrivate</span><span style="color: #009900;">&#40;</span>tab<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;storing...&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    simpleStorage.<span style="color: #660066;">storage</span>.<span style="color: #660066;">titles</span>.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span>tab.<span style="color: #660066;">title</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;not storing, private data&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #006600; font-style: italic;">// do something else...</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h3>Working with Firefox 19</h3>
<p>SDK 1.14 bridges the gap between the old global private browsing, in Firefox 19, and the new per-window private browsing, in Firefox 20.</p>
<p>Since SDK 1.14 needs to support both versions, the new private-browsing API is designed to work with global private browsing. When running on Firefox 19, <code>isPrivate()</code> will return <code>true</code> if and only if the user has global private browsing enabled.</p>
<h2>Summary</h2>
<p>If you have an add-on built with an earlier version of the SDK, this section summarises your options when SDK 1.14 comes out.</p>
<h3>If you do nothing</h3>
<ul>
<li>on Firefox 19 your add-on will continue to work fine: it will get results for <code>isActive</code>, <code>start</code>, and <code>stop</code> that track global private browsing, and you will be able to use them to avoid storing user private data.</li>
<li>on Firefox 20 your add-on might not work at all. If it does, it will see private windows, but the old private-browsing API will not ever tell you that they are private, so you may leak user private data.</li>
</ul>
<h3>If you repack with SDK 1.14</h3>
<p>If you just repack your add-on but leave the code unchanged:</p>
<ul>
<li>on Firefox 19 your add-on will continue to work as before: it will get results for <code>isActive</code>, <code>start</code>, and <code>stop</code> that track global private browsing, and you will be able to use them to avoid storing user private data.</li>
<li>on Firefox 20 any of the old private-browsing functions (<code>isActive</code>, <code>start</code>, and <code>stop</code>) will log deprecation warnings. Your add-on won&#8217;t see any private windows or objects, such as tabs, that are associated with them (it will behave as if these windows just don&#8217;t exist). <code>isActive</code> will always be false, and <code>start</code> and <code>stop</code> will never fire.</li>
</ul>
<h3>If you update your add-on</h3>
<p>If you update your add-on, by setting the &#8220;private-browsing&#8221; flag, and updating your code to use the new <code>isPrivate()</code> API:</p>
<ul>
<li>on Firefox 19 your add-on will work fine: <code>isPrivate()</code> will map on to global private browsing by returning <code>true</code> if and only if the user is in global private browsing mode.</li>
<li>on Firefox 20 you&#8217;ll see private windows, and <code>isPrivate() </code>will tell you whether it&#8217;s OK to store user data associated with windows, tabs, and workers.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/02/26/per-window-private-browsing-and-the-add-on-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jetpack: The Road Ahead ( Part 2 )</title>
		<link>http://blog.mozilla.org/addons/2013/02/26/jetpack-the-road-ahead-part-2/</link>
		<comments>http://blog.mozilla.org/addons/2013/02/26/jetpack-the-road-ahead-part-2/#comments</comments>
		<pubDate>Tue, 26 Feb 2013 15:00:00 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=5979</guid>
		<description><![CDATA[In my last post I talked about the process currently underway to shift SDK development to match the Firefox release schedule. This work has taken up a ton of time over the last year or so, but most of the benefits to add-on developers are around unexciting things like compatibility and maintenance. Developers want new&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2013/02/26/jetpack-the-road-ahead-part-2/" title="Read the rest of &#8220;Jetpack: The Road Ahead ( Part 2 )&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>In my <a target="_blank" href="https://blog.mozilla.org/addons/?p=5976">last </a>post I talked about the process currently underway to shift SDK development to match the Firefox release schedule. This work has taken up a ton of time over the last year or so, but most of the benefits to add-on developers are around unexciting things like compatibility and maintenance. Developers want new exciting capabilities, and thankfully we have a few plans up our sleeve.</p>
<h2 id="the-next-phase--firefox-23--up-">The next phase ( Firefox 23 &amp; Up )</h2>
<p>Shipping in Firefox does not mean that the SDK is ‘done’; quite the opposite! The team still needs to maintain the SDK’s APIs  with future versions of Firefox. As I mentioned in my previous post we do expect this work will be simplified because we will no longer need to support a range of Firefox versions with the same code-base. </p>
<p>What are we going to do with all this spare time?  I’m glad you asked! There are three key initiatives that I mentioned in our <a href="https://wiki.mozilla.org/Jetpack/Roadmap/2013">Roadmap</a> that are top priorities for Jetpack in 2013:</p>
<h3 id="simple-powerful-firefox-ui-integration">Simple, Powerful Firefox UI integration</h3>
<p>Based on Stephen Shorlander’s <a href="http://people.mozilla.com/~shorlander/files/addons-in-toolbar-i01/addons-in-toolbar.html">excellent mockups</a>, we will be implementing a set of high-level, useful APIs that allow developers to integrate custom UI into Firefox navigation bar in a reliable an efficient way. There will be no markup, no need to manually handle unload. These APIs will be available to all add-on developers, not just those using the SDK.</p>
<h3 id="rapid-prototyping-of-firefox-features">Rapid Prototyping of Firefox features</h3>
<p>One of the goals of the SDK has always been to help make Firefox feature development easier. We’ve come a long way towards helping this by embedding our powerful, module APIs and CommonJS loader into Firefox, but we think we can go even farther by easing the pain for not only creating feature prototypes but also shipping the tried and tested code-base the prototype becomes in Firefox all using a modern, modular approach.</p>
<h3 id="awesome-tools-for-add-on-developers">Awesome tools for Add-on Developers</h3>
<p>A key goal for the team is to help improve the developer experience for add-on developers. We believe the best way to approach this problem is to create great native tools that leverage the work of the already fantastic Firefox Developer tools and provide add-on developers with the features they’ve been asking for, such as debugging, rapid prototyping and in-browser packaging.</p>
<p>A related goal for the team is to continue to support Add-on Builder as we move through this transition. Next week I will publish a road-map for Add-on Builder that provides more detail about Builder’s future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2013/02/26/jetpack-the-road-ahead-part-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
