<?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; documentation</title>
	<atom:link href="http://blog.mozilla.com/addons/category/documentation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/addons</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 18:05:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Add-ons Update – Week of 2012/02/09</title>
		<link>http://blog.mozilla.com/addons/2012/02/09/add-ons-update-10/</link>
		<comments>http://blog.mozilla.com/addons/2012/02/09/add-ons-update-10/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 18:05:34 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[add-on reviews]]></category>
		<category><![CDATA[firefox 11]]></category>
		<category><![CDATA[firefox 12]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=4247</guid>
		<description><![CDATA[I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world. The Review Queues Most nominations for full review are taking less than 5 days to review. Most updates are being reviewed within 3 days. Most preliminary reviews are&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2012/02/09/add-ons-update-10/" title="Read the rest of &#8220;Add-ons Update – Week of 2012/02/09&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world.</p>
<h3>The Review Queues</h3>
<ul>
<li>Most<strong> nominations</strong> for full review are taking less than <strong>5 days</strong> to review.</li>
<li>Most <strong>updates</strong> are being reviewed within <strong>3 days</strong>.</li>
<li>Most <strong>preliminary reviews</strong> are being reviewed within <strong>3 days</strong>.</li>
</ul>
<p>These stats are taken from <a href="https://forums.mozilla.org/addons/viewtopic.php?f=21&amp;t=4585">last week&#8217;s queue report</a>:</p>
<ul>
<li><strong>21 nominations</strong> in the queue awaiting review.</li>
<li><strong>25</strong><strong> updates</strong> in the queue awaiting review.</li>
<li><strong>9</strong><strong> preliminary</strong> submissions in the queue awaiting review.</li>
</ul>
<p>Our <a href="http://blog.mozilla.com/addons/2011/12/22/amo-editors-new-years-challenge/">New Years Challenge</a> has really paid off and add-ons are now reviewed almost immediately after they are submitted. Most add-ons waiting in the queue are waiting for actions from admin reviewers or their developers.</p>
<p>If you&#8217;re interested in joining the AMO Editors team and help us review add-ons, please visit <a href="https://wiki.mozilla.org/AMO:Editors">our wiki page</a>.</p>
<h3>Test Your Add-ons for Memory Leaks!</h3>
<p>The MemShrink team was assembled some time ago to work on reducing Firefox&#8217;s memory footprint. Many memory bugs have been filed and fixed for Firefox, but add-ons are also a significant factor in how much memory is being used.</p>
<p><strong>There is an ongoing effort to track and stomp <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=700547">memory leaks in add-ons</a>.</strong> Here&#8217;s where you can help, either by testing the add-ons you created, or testing the add-ons you use. Please read the article on <a href="https://developer.mozilla.org/en/Zombie_Compartments">Zombie Compartments</a>, particularly the add-ons section. It should give you some pointers on how to find leaks and how to avoid them. The short version is <strong>don&#8217;t hold any references to DOM objects after the document is closed</strong>.</p>
<p>The AMO review team is already aware of this, and we have added memory leaks to our testing policies. Add-on versions that leaks may not get full review.</p>
<p>If you have any questions about this, post them in the comments.</p>
<h3>Firefox 11</h3>
<p>The <a href="http://blog.mozilla.com/addons/2012/01/27/compatibility-for-firefox-11/">Firefox 11 compatibility blog post</a> is up now.</p>
<p>The compatibility bump will be run very soon, but it will be run differently than last time. Since Firefox 10 an above have add-on compatibility turned on by default, there&#8217;s no longer a need to do maxVersion bumping. So, we&#8217;re going to do run the usual compatibility checks, but only email developers if their add-ons <em>don&#8217;t</em> pass some of the checks. These add-ons that don&#8217;t will also be added to the compatibility override list so users know they are incompatible, provided that the compatibility bug really causes problems in the way the add-on works.</p>
<h3>Firefox 12</h3>
<p>Firefox 12 already hit the Aurora channel, so the compatibility updates should be coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2012/02/09/add-ons-update-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Add-on development using the Add-on SDK</title>
		<link>http://blog.mozilla.com/addons/2012/02/06/mobile-add-on-development-using-the-add-on-sdk/</link>
		<comments>http://blog.mozilla.com/addons/2012/02/06/mobile-add-on-development-using-the-add-on-sdk/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 12:07:44 +0000</pubDate>
		<dc:creator>Jeff Griffiths</dc:creator>
				<category><![CDATA[documentation]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=4155</guid>
		<description><![CDATA[For this post, please welcome guest blogger and SDK developer Matteo Ferretti who has been hard at work porting the SDK to work with the new native version of Mobile Firefox. Getting Started Add-on SDK version 1.5 is due to be released on February 21st, and we&#39;re pleased to announce that this version will introduce&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2012/02/06/mobile-add-on-development-using-the-add-on-sdk/" title="Read the rest of &#8220;Mobile Add-on development using the Add-on SDK&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p><em>For this post, please welcome guest blogger and SDK developer <a href="https://github.com/ZER0/" target="_blank">Matteo Ferretti</a> who has been hard at work porting the SDK to work with the new native version of Mobile Firefox.</em></p>
<h2>Getting Started</h2>
<p>Add-on SDK version 1.5 is due to be released on February 21st, and we&#39;re pleased to announce that this version will introduce initial support for creating addons for the new native version of Firefox Mobile (codename &quot;fennec&quot;).<br />
Mobile support is still experimental and is currently focused on addons using the SDK&#39;s page-mod module to alter and interact with web pages.</p>
<p>If you&#39;re interested in trying this support out now, you can do so by checking out the ‘master’ branch of the addon-sdk repository:</p>
<pre><code>git clone git://github.com/mozilla/addon-sdk.git
</code></pre>
<p>Alternatively you can just download a zip archive of the current master:</p>
<p>https://github.com/mozilla/addon-sdk/zipball/master</p>
<p>Developing an add-on for Firefox Mobile with the Add-on SDK is very similar to the desktop. If you&#39;re not familiar with Add-on SDK development process, you can take a look <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/dev-guide/addon-development/implementing-simple-addon.html">here</a>. It helps but is not mandatory for this tutorial.</p>
<h2>Getting set up</h2>
<p>In addition to having the correct version of the SDK, there are some additional requirements:</p>
<ul>
<li>you need to have an Android device connected to your computer via USB</li>
<li>on the Android device, you need to install a Nightly build of Firefox Mobile.</li>
<li>you need to download and install the Android SDK, including the SDK Tools. Specifically, the SDK requires that you have installed the &#39;adb&#39; command-line tool.</li>
</ul>
<p>Please see this detailed <a href="http://aaronmt.com/?p=503">tutorial</a> by Aaron Train for more information on installing and configuring the Android SDK.</p>
<p>Now you&#39;re ready to write the classic &quot;Hello World&quot; example!</p>
<h2>Hello, Fennec!</h2>
<p>Firstly, be sure that you have connected your device to your computer. You can check it running from a shell the following command:</p>
<pre><code>adb devices
</code></pre>
<p>Then, be sure that you don&#39;t have any Firefox Mobile already running. That is important because the Add-on SDK will run your add-on using a temporary firefox profile for development, not the default one. If Firefox is already running, you can quit Firefox by opening the application menu, selecting &#39;More&#39;, then selecting &#39;Quit&#39;.<br />
Don&#39;t worry, if Firefox <em>is</em> running the Add-on SDK will clearly warn you.</p>
<p>Now open a shell, navigate to the Add-on SDK root directory, and execute:</p>
<pre><code>source bin/activate
</code></pre>
<p>This will activate the SDK&#39;s environment and allow you to run the cfx tool from the current shell prompt nomatter what directory you are currently in..</p>
<p>Change to another directory and then create a directory called <code>hellofennec</code>. Keeping your add-on code outside the SDK is good practice. Navigate to that directory and run <code>cfx init</code> to create a new addon:</p>
<pre><code>mkdir hellofennec
cd hellofennec
cfx init
</code></pre>
<p>With a text editor or IDE of your choice, open <code>lib/main.js</code>, and replace its contents with the following:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Hello, Fennec!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Save it. You&#39;re ready to run it on your device using the following command:</p>
<pre><code>cfx run -a fennec-on-device -b ~/path/to/adb --mobile-app fennec --force-mobile
</code></pre>
<p>And yes, compared to the desktop version the mobile version needs more arguments. You can learn about all the cfx&#39;s arguments just run it without any parameters, but let&#39;s have a quick look about what they means in this context:</p>
<ul>
<li>
<p>-a, &#8211;app : specify the application that runs the add-on, in this case &quot;fennec on device&quot;.</p>
</li>
<li>
<p>-b, &#8211;binary : is mandatory for <code>fennec-on-device</code> app. SDK needs to know where you have installed the adb tool that is installed with the Android SDK in order to communicate with your device. So, replace this value with the right path where you have installed the adb platform tool.</p>
</li>
<li>
<p>&#8211;mobile-app : is the name of the Android intent. If you have only one Firefox Mobile version installed on your device, you can omit this option. The value for nightly is <code>fennec</code>, for aurora this is <code>fennec_aurora</code>, for beta this is <code>firefox_beta</code> and for release this is <code>firefox</code>.<br />
If you have a Fennec&#39;s custom build on your device, the intent&#39;s name is <code>fennec_&lt;your_username&gt;</code> by default.</p>
</li>
<li>
<p>&#8211;force-mobile : this flag will be removed when the mobile&#39;s support will be stable and not experimental anymore.</p>
</li>
</ul>
<p>When you execute the command the first time you&#39;ll see a message like this:</p>
<pre><code>No &#39;id&#39; in package.json: creating a new ID for you.
package.json modified: please re-run &#39;cfx run&#39;
</code></pre>
<p>Run the command again, and it will run Firefox Mobile on your device with your add-on installed.</p>
<p>Congratulations! You have made your first step in mobile add-ons development with Add-on SDK!</p>
<h2>Hack the web</h2>
<p>As I said previously, Add-on SDK provide a minimal support for mobile at the moment, focused mainly on <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/page-mod.html">page-mod</a>. In short, they are add-ons that can modify any — or a specific — web pages loaded by the browser.</p>
<p>On mobile this is very handy. For instance, you can optimize a website that it wasn&#39;t designed for mobile devices, improve the readability, or adding unique functionality.</p>
<p>For this tutorial I made a simple add-on that &quot;mod&quot; the famous <a href="http://www.penny-arcade.com/">penny-arcade.com</a> website. You can check it out from github:</p>
<pre><code>git clone git://github.com/ZER0/penny-arcade-comics.git
</code></pre>
<p>Alternatively,  you can download it as <a href="https://github.com/ZER0/penny-arcade-comics/zipball/master">zip archive</a>.</p>
<p>What it does is simple: when you&#39;re on the <a href="http://www.penny-arcade.com/">penny-arcade.com</a> homepage or reading a news post, switching from portrait to landscape will display the webcomics related to that news, without clicking a link and zooming (landscape fits more the format of penny-arcade comics than portrait, and portrait is more suitable to reading news). Switching back from landscape to portrait will hide it again.</p>
<h2>A deeper look</h2>
<p>So, how it works? The important files are <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/data/content.css">data/content.css</a>, <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/data/content.js">data/content.js</a> and <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/lib/main.js">main.js</a>. The first two are the files injected into <a href="http://www.penny-arcade.com/">penny-arcade.com</a>, and the last one is our add-on entry point.<br />
Let&#39;s start with <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/lib/main.js">main.js</a>.<br />
Firstly, we require the Add-on SDK modules needed:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> PageMod <span style="color: #339933;">=</span> require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;page-mod&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">PageMod</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> data <span style="color: #339933;">=</span> require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;self&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">data</span><span style="color: #339933;">;</span></pre></div></div>

<p>The <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/page-mod.html">PageMod</a> object allows us to create a page-mod; and <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/self.html#data">data</a> object provides an access to the <code>data</code> directory&#39;s files.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">PageMod<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">// page-mod will added only on the homepage and news page of penny-arcade.com,</span>
  <span style="color: #006600; font-style: italic;">// with or without www as prefix.</span>
  include<span style="color: #339933;">:</span> <span style="color: #009966; font-style: italic;">/^http:\/\/(www\.)?penny-arcade.com(\/|\/\d{4})?.*/</span><span style="color: #339933;">,</span>
  contentScriptFile<span style="color: #339933;">:</span> data.<span style="color: #660066;">url</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;content.js&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  contentScriptWhen<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;ready&quot;</span><span style="color: #339933;">,</span>
  onAttach<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>worker<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    worker.<span style="color: #660066;">port</span>.<span style="color: #660066;">emit</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;init&quot;</span><span style="color: #339933;">,</span> data.<span style="color: #660066;">url</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;content.css&quot;</span><span style="color: #009900;">&#41;</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></div></div>

<p>For the <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/lib/main.js">main.js</a>, that&#39;s all. The addon will load <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/data/content.js">content.js</a> into the page when the DOM is ready for any URL that matches the <code>include</code> property&#39;s regular expression. When the <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/page-mod.html">page-mod</a> is &quot;attached&quot; to a document, the <code>onAttach</code> callback will emit a custom <code>init</code> event to the content script, passing the URL of <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/data/content.css">content.css</a>.</p>
<p>So, what happens on the other side when the <code>init</code> event is emitted? Let&#39;s see <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/data/content.js">content.js</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">self.<span style="color: #660066;">port</span>.<span style="color: #660066;">on</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;init&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> init<span style="color: #009900;">&#40;</span>cssURL<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">// We're not interested in frames</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">frameElement</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span>
  addStyleSheet<span style="color: #009900;">&#40;</span>cssURL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #003366; font-weight: bold;">var</span> comicsPageURL <span style="color: #339933;">=</span> document.<span style="color: #660066;">querySelector</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.btnComic&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">href</span><span style="color: #339933;">;</span>
  <span style="color: #003366; font-weight: bold;">var</span> http <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  http.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;GET&quot;</span><span style="color: #339933;">,</span> comicsPageURL<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  http.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> addComics<span style="color: #339933;">;</span>
  http.<span style="color: #660066;">send</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>A <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/page-mod.html">page-mod</a> is attached to every page that matches the include rule, so frames as well. We are not interested in frames, only in the main page, so with:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">frameElement</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span></pre></div></div>

<p>We avoid to execute code in that specific case.</p>
<p>Then, we add the stylesheet given using <code>addStyleSheet</code> function, defined in the same file, and we obtain the comics page URL by looking into the DOM.<br />
Because the comic page and the news page are in the same domain, we can use <a href="https://developer.mozilla.org/en/XMLHttpRequest">XMLHttpRequest</a> from the content script itself (content scripts follows the <a href="https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript">Same Origin Policy</a>) instead of having to delegate  this task to the Add-on code (that can perform Cross Domain requests).<br />
When we receive the response, the comic page&#39;s image url is extracted and displayed in the current page. And that&#39;s all!</p>
<p>The behavior related to hide and display the comics image is implemented in <a href="https://github.com/ZER0/penny-arcade-comics/blob/master/data/content.css">css file</a> using <a href="https://developer.mozilla.org/en/CSS/Media_queries">media queries</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@media (orientation:portrait) {</span>
  <span style="color: #cc00cc;">#penny-arcade-addon-comics</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
  <span style="color: #00AA00;">&#125;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #a1a100;">@media (orientation:landscape) {</span>
  <span style="color: #cc00cc;">#penny-arcade-addon-comics</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
  <span style="color: #00AA00;">&#125;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h2>See the results</h2>
<p>Navigate into the <code>penny-arcade-comics</code> directory and run it. You should see Fennec Nightly or Aurora ( whichever you specified ) start up on your device. Next, open the Firefox menu, select &#39;More&#39;, then &#39;Addons&#39;. You should see the list of default addons installed into Firefox, as well as two additions: &#39;Mobile Addon-SDK utility addon&#39; and &#39;penny-arcade-comics&#39;. </p>
<p>You can now see how it works at first hand by opening the Penny Arcade site ( <a href="http://penny-arcade.com/">http://penny-arcade.com/</a> ) in Firefox  Mobile:</p>
<h2>Portrait</h2>
<p><a target="_blank" href="http://blog.mozilla.com/addons/files/2012/02/SC20120126-223425.png"><img src="http://blog.mozilla.com/addons/files/2012/02/SC20120126-223425-150x150.png" alt="" title="Portrait" width="150" height="150" class="alignnone size-thumbnail wp-image-4170" /></a></p>
<h2>Landscape</h2>
<p><a target="_blank" href="http://blog.mozilla.com/addons/files/2012/02/SC20120126-222905.png"><img src="http://blog.mozilla.com/addons/files/2012/02/SC20120126-222905-150x150.png" alt="" title="Landscape" width="150" height="150" class="alignnone size-thumbnail wp-image-4169" /></a></p>
<p>If you do not have an Android device to test this on, you can still see the effect by installing this addon on Firefox Desktop and re-sizing the window to trigger the media queries we&#39;ve used in our customer css.</p>
<p>When running the addon on your deivce, you will notice that your shell will be full of javascript warnings; this is because <code>cfx</code> will dump all of Firefox&#39;s log messages there. They can be useful, but especially when you work with <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/page-mod.html">page-mod</a> it&#39;s easy lost your add-on&#39;s logging information in this flow. What I usually do instead is open a new shell, and execute a command like that:</p>
<pre><code>adb logcat | grep info:
</code></pre>
<p>So, in the shell where cfx is executing I will get all the messages, and in the other one I filtered out only the messages from the add-on.</p>
<h2>Conclusion</h2>
<p>We&#39;re very excited about the possibilities around mobile addons and would love any feedback you might have. Working with the Android SDK currently is a bit awkwards, admittedly. If you do get started creating your own addons for Fennec Nightly, please keep in mind that not all SDK modules work properly.<br />
The modules that currently work are:</p>
<ul>
<li>page-mod</li>
<li>page-worker</li>
<li>request</li>
<li>self</li>
<li>simple-storage</li>
<li>timers</li>
</ul>
<p>There are additional modules that mostly work; we are currently working on providing as much support for mobile as possible and will keep you up to date on our progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2012/02/06/mobile-add-on-development-using-the-add-on-sdk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add-on Compatibility for Firefox 11</title>
		<link>http://blog.mozilla.com/addons/2012/01/27/compatibility-for-firefox-11/</link>
		<comments>http://blog.mozilla.com/addons/2012/01/27/compatibility-for-firefox-11/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 22:07:14 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[firefox 10]]></category>
		<category><![CDATA[firefox 11]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=4074</guid>
		<description><![CDATA[Firefox 11 was pushed to the Aurora channel weeks ago, and Firefox 12 will follow suit very soon. So, it&#8217;s time for the long overdue overview of bugs that can affect add-on compatibility in Firefox 11. I&#8217;m sorry this update is being posted so late, but things have been pretty crazy lately. More on that&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2012/01/27/compatibility-for-firefox-11/" title="Read the rest of &#8220;Add-on Compatibility for Firefox 11&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Firefox 11 was pushed to the Aurora channel weeks ago, and Firefox 12 will follow suit very soon. So, it&#8217;s time for the long overdue overview of bugs that can affect add-on compatibility in Firefox 11. I&#8217;m sorry this update is being posted so late, but things have been pretty crazy lately. More on that in the Firefox 10 section.</p>
<h3>A few notes regarding Firefox 10</h3>
<p>If everything goes according to plan, Firefox 10 will be pushed to the public in less than a week. There are a couple of points that are worth mentioning:</p>
<ul>
<li><strong>Starting with Firefox 10, add-ons will default to compatible.</strong> All add-on versions that have compatibility up to Firefox 4 or higher will automatically work in Firefox 10 and all future releases. This excludes add-ons that are not extensions (themes, dictionaries, language packs) and add-ons with binary components. We will also keep an override list that we will fill with all add-on versions that are known to break due to compatibility problems. This is what has kept me busy for the past weeks. <strong><a href="http://blog.mozilla.com/addons/2012/01/05/default-compatibility-is-coming-and-your-help-is-needed/">We need your help to keep the override list up to date</a>.<br />
</strong></li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=701875">Rename omni.jar to omni.ja</a>. If your add-on references omni.jar directly, it will break now that it has been renamed. We recommend that you find more flexible ways to reference these files, since most should be accessible through chrome URLs.</li>
</ul>
<p>For more information about Firefox 10 compatibility, please read the <a href="http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/">full compatibility update</a>.</p>
<h3>Firefox 11</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=704171">Remove the no-argument form of requestAnimationFrame</a>. This function now takes one mandatory argument.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=707576">Remove nsIDOMNSElement</a>. This affects many SDK-based (Jetpack) add-ons using old versions of the SDK. We encourage you to update to the latest stable version as soon as possible.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=690952">Remove the crazy navigator preservation behavior</a>. If your add-on sets expando properties to the <em>navigator</em> object in web pages and relies on them keeping their state while navigating within the same domain, this concerns you.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=704056">Remove &#8216;countryCode&#8217; from nsIDOMGeoPositionAddress.idl</a>. The non-standard <em>countryCode</em> property was removed.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=700296">Kill dynamic containers</a>. This is an obscure feature that was added to the bookmarks code but it was rarely used.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=700490">Remove nsICharsetResolver</a>.</li>
</ul>
<p>Other important changes are noted in <a href="https://developer.mozilla.org/en/Firefox_11_for_developers">Firefox 11 for developers</a>.</p>
<h3>New stuff in 11!</h3>
<ul>
<li><strong><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=651072">Support HTML parsing in XMLHttpRequest</a></strong>. The <a href="https://developer.mozilla.org/en/HTML_in_XMLHttpRequest">documentation page</a> for this feature is being written at the moment, but it already has useful info.</li>
<li><strong><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=534956">Sync add-ons</a></strong>. It seems Firefox Sync will be able to sync installed add-ons across devices. I doubt it will be able to sync all of your add-on configuration if your add-on writes custom files in the profile or elsewhere, though.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=697546">Add a scriptable way to set a dock badge text</a>. For Mac OS add-ons that want to write to the dock icon.</li>
</ul>
<p>Please let me know in the comments if there&#8217;s anything missing or incorrect on these lists. If your add-on breaks on Firefox 10 or 11, I&#8217;d like to know.</p>
<p>Because of the Default to Compatible feature, we are no longer doing compatibility bumps like we did before. We will still run the validation but only send you a message if your add-on is identified as incompatible. There will be no more automatic version upgrades, given that there&#8217;s no point anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2012/01/27/compatibility-for-firefox-11/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Add-ons Update – Week of 2012/01/19</title>
		<link>http://blog.mozilla.com/addons/2012/01/19/add-ons-update-9/</link>
		<comments>http://blog.mozilla.com/addons/2012/01/19/add-ons-update-9/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 19:32:08 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[add-on reviews]]></category>
		<category><![CDATA[firefox 10]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=4039</guid>
		<description><![CDATA[I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world. The Review Queues Most nominations for full review are taking less than 10 days to review. Most updates are being reviewed within 5 days. Most preliminary reviews are&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2012/01/19/add-ons-update-9/" title="Read the rest of &#8220;Add-ons Update – Week of 2012/01/19&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world.</p>
<h3>The Review Queues</h3>
<ul>
<li>Most<strong> nominations</strong> for full review are taking less than <strong>10 days</strong> to review.</li>
<li>Most <strong>updates</strong> are being reviewed within <strong>5 days</strong>.</li>
<li>Most <strong>preliminary reviews</strong> are being reviewed within <strong>5 days</strong>.</li>
</ul>
<p>These stats are taken from <a href="https://forums.mozilla.org/addons/viewtopic.php?f=21&amp;t=4585">last week&#8217;s queue report</a>:</p>
<ul>
<li><strong>39 nominations</strong> in the queue awaiting review.</li>
<li><strong>50</strong><strong> updates</strong> in the queue awaiting review.</li>
<li><strong>49</strong><strong> preliminary</strong> submissions in the queue awaiting review.</li>
</ul>
<p>Our <a href="http://blog.mozilla.com/addons/2011/12/22/amo-editors-new-years-challenge/">New Years Challenge</a> has really paid off and add-ons are now reviewed almost immediately after they are submitted. Most add-ons waiting in the queue are waiting for actions from admin reviewers or their developers.</p>
<p>If you&#8217;re interested in joining the AMO Editors team and help us review add-ons, please visit <a href="https://wiki.mozilla.org/AMO:Editors">our wiki page</a>.</p>
<h3>Firefox 10</h3>
<p>The Firefox 10 compatibility post <a href="http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/">is here</a>. The compatibility bump to Firefox 10 was run last week, so any add-ons with compatibility under 10.* should be tested and manually upgraded in the Developer Hub, if possible.</p>
<p>You can run the <a href="https://addons.mozilla.org/en-US/developers/addon/check-compatibility">standalone compatibility tool</a> if you want to test your add-on yourself or if it isn&#8217;t hosted on AMO.</p>
<p>The <a href="https://wiki.mozilla.org/Features/Add-ons/Add-ons_Default_to_Compatible">Add-ons Default to Compatible</a> feature is progressing, and we expect to land on Firefox 10. Once this is in place, your compatibility worries will be minimized, and we&#8217;ll be taking a more active role in letting developers know if their add-ons are incompatible with a new version of Firefox. This feature will be a big win for both developers and Firefox users, so we&#8217;re very excited about it.</p>
<h3>Firefox 11</h3>
<p>A compatibility blog post for Firefox 11 is coming up. I apologize for the delay.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2012/01/19/add-ons-update-9/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Add-ons Update – Week of 2011/12/28</title>
		<link>http://blog.mozilla.com/addons/2011/12/28/add-ons-update-8/</link>
		<comments>http://blog.mozilla.com/addons/2011/12/28/add-ons-update-8/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 18:11:30 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[add-on reviews]]></category>
		<category><![CDATA[contests]]></category>
		<category><![CDATA[firefox 10]]></category>
		<category><![CDATA[firefox 11]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=3916</guid>
		<description><![CDATA[I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world. The Review Queues Nominations for full review at the moment are being processed slower than usual. Most nominations are taking less than 4 weeks to review. Most updates&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2011/12/28/add-ons-update-8/" title="Read the rest of &#8220;Add-ons Update – Week of 2011/12/28&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world.</p>
<h3>The Review Queues</h3>
<ul>
<li><strong>Nominations</strong> for full review at the moment are being processed slower than usual. Most nominations are taking less than <strong>4 weeks</strong> to review.</li>
<li>Most <strong>updates</strong> are being reviewed within <strong>one week</strong>.</li>
<li>Most <strong>preliminary reviews</strong> are being reviewed within <strong>2 weeks</strong>.</li>
</ul>
<p>These stats are taken from <a href="https://forums.mozilla.org/addons/viewtopic.php?f=21&amp;t=4504">last week&#8217;s queue report</a>:</p>
<ul>
<li>74 new nominations that week. <strong>153 nominations</strong> in the queue awaiting review.</li>
<li>115 new updates that week. <strong>120 updates</strong> in the queue awaiting review.</li>
<li>97 new preliminary review submissions that week. <strong>160 preliminary</strong> submissions in the queue awaiting review.</li>
</ul>
<p>Waiting times are rapidly dropping and will continue to drop in the following weeks thanks to our <a href="http://blog.mozilla.com/addons/2011/12/22/amo-editors-new-years-challenge/">New Years Challenge</a>. There&#8217;s still plenty of time to participate and win great prizes, including tablets and a laptop.</p>
<p>If you&#8217;re interested in joining the AMO Editors team and help us review add-ons, please visit <a href="https://wiki.mozilla.org/AMO:Editors">our wiki page</a>.</p>
<h3>Firefox 10</h3>
<p>The Firefox 10 compatibility post <a href="http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/">is here</a>. The compatibility bump to Firefox 10 was run last week, so any add-ons with compatibility under 10.* should be tested and manually upgraded in the Developer Hub, if possible.</p>
<p>You can run the <a href="https://addons.mozilla.org/en-US/developers/addon/check-compatibility">standalone compatibility tool</a> if you want to test your add-on yourself or if it isn&#8217;t hosted on AMO.</p>
<p>The <a href="https://wiki.mozilla.org/Features/Add-ons/Add-ons_Default_to_Compatible">Add-ons Default to Compatible</a> feature is progressing, and we expect to land on Firefox 10 or 11. Once this is in place, your compatibility worries will be minimized, and we&#8217;ll be taking a more active role in letting developers know if their add-ons are incompatible with a new version of Firefox. This feature will be a big win for both developers and Firefox users, so we&#8217;re very excited about it.</p>
<h3>Firefox 11</h3>
<p>A compatibility blog post for Firefox 11 is coming up.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2011/12/28/add-ons-update-8/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Add-ons Update – Week of 2011/12/07</title>
		<link>http://blog.mozilla.com/addons/2011/12/07/add-ons-update-7/</link>
		<comments>http://blog.mozilla.com/addons/2011/12/07/add-ons-update-7/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 23:01:08 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[add-on reviews]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[firefox 10]]></category>
		<category><![CDATA[firefox 9]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=3783</guid>
		<description><![CDATA[I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world. AMO Outage We had a significant outage on our site (and others) earlier this week, which affected some add-on operations such as compatibility checks. AMO is back to&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2011/12/07/add-ons-update-7/" title="Read the rest of &#8220;Add-ons Update – Week of 2011/12/07&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world.</p>
<h3>AMO Outage</h3>
<p>We had a <a href="http://blog.mozilla.com/addons/2011/12/05/amo-network-outage/">significant outage</a> on our site (<a href="http://blog.mozilla.com/sumo/2011/12/06/sumo-is-down/">and others</a>) earlier this week, which affected some add-on operations such as compatibility checks. AMO is back to normal now and we&#8217;re looking into ways of avoiding this from happening again.</p>
<h3>The Review Queues</h3>
<ul>
<li><strong>Nominations</strong> for full review at the moment are being processed slower than usual. Most nominations are taking less than <strong>5 weeks</strong> to review.</li>
<li>Most <strong>updates</strong> are being reviewed within <strong>10 days</strong>.</li>
<li>Most <strong>preliminary reviews</strong> are being reviewed within <strong>3 weeks</strong>.</li>
</ul>
<p>These stats are taken from the <a href="https://forums.mozilla.org/addons/viewtopic.php?f=21&amp;t=4385">last queue report</a>:</p>
<ul>
<li>67 new nominations that week. <strong>224 nominations</strong> in the queue awaiting review.</li>
<li>101 new updates that week. <strong>135 updates</strong> in the queue awaiting review.</li>
<li>78 new preliminary review submissions that week. <strong>115 preliminary</strong> submissions in the queue awaiting review.</li>
</ul>
<p>If you&#8217;re interested in joining the AMO Editors team and help us review add-ons, please visit <a href="https://wiki.mozilla.org/AMO:Editors">our wiki page</a>.</p>
<h3>Firefox 10</h3>
<p>The Firefox 10 compatibility post <a href="http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/">is here</a>. The compatibility bump to Firefox 10 was run last week, so any add-ons with compatibility under 10.* should be tested and manually upgraded in the Developer Hub, if possible.</p>
<p>You can run the <a href="https://addons.mozilla.org/en-US/developers/addon/check-compatibility">standalone compatibility tool</a> if you want to test your add-on yourself or if it isn&#8217;t hosted on AMO.</p>
<p>The <a href="https://wiki.mozilla.org/Features/Add-ons/Add-ons_Default_to_Compatible">Add-ons Default to Compatible</a> feature is progressing, and we expect to land for Firefox 10 or 11. Once this is in place, your compatibility worries will be minimized, and we&#8217;ll be taking a more active role in letting developers know if their add-ons are incompatible with a new version of Firefox. This feature will be a big win for both developers and Firefox users, so we&#8217;re very excited about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2011/12/07/add-ons-update-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add-on Compatibility for Firefox 10</title>
		<link>http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/</link>
		<comments>http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 22:19:15 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[firefox 10]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=3752</guid>
		<description><![CDATA[Firefox 10 was pushed to the Aurora channel a few weeks ago, so it&#8217;s time again to round up all bugs that could be breaking add-on compatibility. It&#8217;s a pretty long list this time, but most are removals of obscure and rarely-used XPCOM and DOM interfaces. As usual, you should check Firefox 10 for Developers&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/" title="Read the rest of &#8220;Add-on Compatibility for Firefox 10&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Firefox 10 was pushed to the Aurora channel a few weeks ago, so it&#8217;s time again to round up all bugs that could be breaking add-on compatibility. It&#8217;s a pretty long list this time, but most are removals of obscure and rarely-used XPCOM and DOM interfaces.</p>
<p>As usual, you should check <a href="https://developer.mozilla.org/en/Firefox_10_for_developers">Firefox 10 for Developers</a> for additional information.</p>
<h3>DOM Changes</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=687400">Remove isSameNode</a>. This is the change that has the greatest impact by far, since it is used in many add-ons and web sites. To compare nodes you can use the === operator instead.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=687422">Remove isElementContentWhitespace</a>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=683482">Remove replaceWholeText()</a>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=687426">Remove Document.xmlEncoding</a>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=693154">Remove Document.xmlStandalone</a>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=693162">Remove Document.xmlVersion</a>.</li>
</ul>
<h3>XPCOM Changes</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=691524">Remove support for browser.startup.page == 2</a>. This setting wasn&#8217;t in use, but a consequence of this change is that the lastPageVisited property in nsIBrowserHistory was removed.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=677085">Remove nsIDOMNSHTMLFrameElement</a>. Use nsIDOMHTMLFrameElement instead.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=684821">Remove nsIDOMNSHTMLElement</a>. Use nsIDOMHTMLElement instead.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=675553">Switch from PRBool to bool</a>. The PRBool type was cleaned up all around in favor of bool.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=540433">Remove nsIDocumentViewer</a>.</li>
<li> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=687361">Implement IndexedDB setVersion API changes</a>. This changes several DB interfaces, but they are meant for internal usage.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=700314">Remove nsNavHistory nsICharsetResolver implementation</a>.</li>
</ul>
<h3>Other Changes</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=94199">fastload XBL methods and properties</a>. If you use XBL, make sure you test it thoroughly. If you run into bugs that can&#8217;t be reproduced in Firefox 9, please let us know!</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=683838">Different regular expression result since Firefox 7</a>. A small RegExp fix, but it can change the result of certain expressions.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=677797">Mandatory ASLR on Windows</a>. Binary components should work with ASLR, otherwise there will be a performance penalty when loading them in Firefox. We&#8217;re also considering adding detection for non-NX and non-ASLR binaries on AMO, possibly rejecting them.</li>
</ul>
<h3>New stuff!</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=515907">Support taskbar icon overlay in Windows 7</a>. This allows extensions to add icons to the taskbar icon on Windows 7. There&#8217;s a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=515907#c52">sample</a> linked in the bug in case you&#8217;re interested.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=675371">Load/unload chrome.manifest files for bootstrapped addons dynamically</a>. Chrome in bootstrapped add-ons, whoo! Well, it has been possible since before, but now it&#8217;s real easy.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=432698">Add support for mouseenter and mouseleave events</a>.</li>
</ul>
<p>Please let me know in the comments if there&#8217;s anything missing or incorrect on these lists. If your add-on breaks on Firefox 10, I&#8217;d like to know.</p>
<p>The compatibility bump to Firefox 10 will happen very soon. If you want your add-on to qualify for this, it should be compatible with 9.*. Versions awaiting review also qualify.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Add-ons Update – Week of 2011/11/17</title>
		<link>http://blog.mozilla.com/addons/2011/11/17/add-ons-update-6/</link>
		<comments>http://blog.mozilla.com/addons/2011/11/17/add-ons-update-6/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 15:54:51 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[add-on reviews]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[firefox 10]]></category>
		<category><![CDATA[firefox 9]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=3673</guid>
		<description><![CDATA[I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world. The Review Queues Nominations for full review at the moment are being processed slower than usual. Most nominations are taking about 6 weeks to review. Most updates are&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2011/11/17/add-ons-update-6/" title="Read the rest of &#8220;Add-ons Update – Week of 2011/11/17&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world.</p>
<h3>The Review Queues</h3>
<ul>
<li><strong>Nominations</strong> for full review at the moment are being processed slower than usual. Most nominations are taking about <strong>6 weeks</strong> to review.</li>
<li>Most <strong>updates</strong> are being reviewed within <strong>2 weeks</strong>.</li>
<li>Most <strong>preliminary reviews</strong> are being reviewed within <strong>3 weeks</strong>.</li>
</ul>
<p>These stats are taken from the <a href="https://forums.mozilla.org/addons/viewtopic.php?f=21&amp;t=4266">last queue report</a>:</p>
<ul>
<li>82 new nominations that week. <strong>247 nominations</strong> in the queue awaiting review.</li>
<li>116 new updates that week. <strong>149 updates</strong> in the queue awaiting review.</li>
<li>66 new preliminary review submissions that week. <strong>104 preliminary</strong> submissions in the queue awaiting review.</li>
</ul>
<p>If you&#8217;re interested in joining the AMO Editors team and help us review add-ons, please read the page on <a href="https://wiki.mozilla.org/AMO:Editors/Applying">How to Apply</a>.</p>
<h3>Firefox 8</h3>
<p>There&#8217;s a bug that affects themes in Firefox 8, in Mac OS X Lion. Please read <a href="http://blog.mozilla.com/addons/2011/11/15/toolbar-bug-themes-firefox-8-mac-lion/">this blog post</a> if you&#8217;re a theme developer.</p>
<h3>Firefox 9</h3>
<p>The Firefox 9 compatibility post <a href="http://blog.mozilla.com/addons/2011/10/11/compatibility-for-firefox-9/">is here</a>. The compatibility bump to Firefox 9 was run weeks ago, so any add-ons with compatibility under 9.* should be tested and manually upgraded in the Developer Hub, if possible.</p>
<p>You can run the <a href="https://addons.mozilla.org/en-US/developers/addon/check-compatibility">standalone compatibility tool</a> if you want to test your add-on yourself or if it isn&#8217;t hosted on AMO.</p>
<p>We strongly recommend that you aim to make your add-on compatible with the Firefox version in the Aurora channel. Making your add-on compatible with Aurora qualifies it for our automatic compatibility upgrades, saving you lots of time. If you need more information about this, don&#8217;t hesitate to ask.</p>
<h3>Firefox 10</h3>
<p>Compatibility update coming soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2011/11/17/add-ons-update-6/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add-ons Update – Week of 2011/10/26</title>
		<link>http://blog.mozilla.com/addons/2011/10/26/add-ons-update-5/</link>
		<comments>http://blog.mozilla.com/addons/2011/10/26/add-ons-update-5/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 21:16:32 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[add-on reviews]]></category>
		<category><![CDATA[firefox 8]]></category>
		<category><![CDATA[firefox 9]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=3530</guid>
		<description><![CDATA[I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world. The Review Queues Nominations for full review at the moment are being processed slower than usual. Most nominations are taking about 5 weeks to review. Most updates are&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2011/10/26/add-ons-update-5/" title="Read the rest of &#8220;Add-ons Update – Week of 2011/10/26&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I post these updates every 3 weeks to inform add-on developers about the status of the review queues, add-on compatibility, and other happenings in the add-ons world.</p>
<h3>The Review Queues</h3>
<ul>
<li><strong>Nominations</strong> for full review at the moment are being processed slower than usual. Most nominations are taking about <strong>5 weeks</strong> to review.</li>
<li>Most <strong>updates</strong> are being reviewed within <strong>10 days</strong>.</li>
<li>Most <strong>preliminary reviews</strong> are being reviewed within <strong>4 weeks</strong>.</li>
</ul>
<p>These stats are taken from the <a href="https://forums.mozilla.org/addons/viewtopic.php?f=21&amp;t=4124">last queue report</a>:</p>
<ul>
<li>67 new nominations that week. <strong>243 nominations</strong> in the queue awaiting review.</li>
<li>111 new updates that week. <strong>126 updates</strong> in the queue awaiting review.</li>
<li>44 new preliminary review submissions that week. <strong>267 preliminary</strong> submissions in the queue awaiting review.</li>
</ul>
<p>If you compare these numbers to the <a href="http://blog.mozilla.com/addons/2011/10/05/add-ons-update-4/">last report</a>, you&#8217;ll see we&#8217;re improving on most fronts. We continue to ramp up our efforts, and we&#8217;re in the process of introducing new editors from the Jetpack team, who should be able to help reviewing SDK-based add-ons.</p>
<p>If you&#8217;re interested in joining the AMO Editors team and help us review add-ons, please read the page on <a href="https://wiki.mozilla.org/AMO:Editors/Applying">How to Apply</a>.</p>
<h3>Firefox 8</h3>
<p>The Firefox 8 compatibility post <a href="http://blog.mozilla.com/addons/2011/09/01/add-on-compatibility-for-firefox-8/">is here</a>.</p>
<p>You should note that there are a couple of possible reversals coming into Firefox 8 that affect add-on developers, mostly in good ways:</p>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=695345">Bring back ISO8601DateUtils.jsm</a>. Since the Date object isn&#8217;t exactly equivalent to this module and some significant add-on breakage was expected from its removal, it will be brought back for the time being. You should still change your add-ons so that it isn&#8217;t used anymore, but it&#8217;ll be at least one more release before it is completely removed.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=690227">Back out bug 455694 (tab drag/detach animations)</a>. <strong>There is no final decision on this yet.</strong> The backout patch has been checked in for testing and you should track this bug if it affects your add-on.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=693743">3rd party add-on check doesn&#8217;t disable add-ons that were installed into the profile or application folder</a>. The third party add-on check is being extended to include add-ons installed directly in the application folder or in the profile. This doesn&#8217;t affect any add-ons installed through the regular add-on installation process, or if they are installed manually from a local file. This should only affect add-ons that are automatically installed from an external package and copied into these other locations. It can affect add-on developers who have automatic installation processes to test their new code. You should read <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=693743#c22">this comment</a> for information on how to bypass this check and avoid the dialog at startup.</li>
</ul>
<h3>Firefox 9</h3>
<p>The Firefox 9 compatibility post <a href="http://blog.mozilla.com/addons/2011/10/11/compatibility-for-firefox-9/">is here</a>. The compatibility bump to Firefox 9 was run last week, so any add-ons with compatibility under 9.* should be tested and manually upgraded in the Developer Hub, if possible.</p>
<p>You can run the <a href="https://addons.mozilla.org/en-US/developers/addon/check-compatibility">standalone compatibility tool</a> if you want to test your add-on yourself or if it isn&#8217;t hosted on AMO.</p>
<p>We strongly recommend that you aim to make your add-on compatible with the Firefox version in the Aurora channel, Firefox 9 at this moment. Making your add-on compatible with Aurora qualifies it for our automatic compatibility upgrades, saving you lots of time. If you need more information about this, don&#8217;t hesitate to ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2011/10/26/add-ons-update-5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add-on Compatibility for Firefox 9</title>
		<link>http://blog.mozilla.com/addons/2011/10/11/compatibility-for-firefox-9/</link>
		<comments>http://blog.mozilla.com/addons/2011/10/11/compatibility-for-firefox-9/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 20:40:32 +0000</pubDate>
		<dc:creator>Jorge Villalobos</dc:creator>
				<category><![CDATA[compatibility]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[firefox 8]]></category>
		<category><![CDATA[firefox 9]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/addons/?p=3336</guid>
		<description><![CDATA[Firefox 9 was recently pushed to the Aurora channel, so it&#8217;s time again to round up all bugs that could be breaking add-on compatibility. This time around I found very few bugs that I would consider troubling, but there are plenty of minor ones worth mentioning. As usual, you should also check Firefox 9 for&#8230; <a class="more-link" href="http://blog.mozilla.com/addons/2011/10/11/compatibility-for-firefox-9/" title="Read the rest of &#8220;Add-on Compatibility for Firefox 9&#8221;">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Firefox 9 was recently pushed to the Aurora channel, so it&#8217;s time again to round up all bugs that could be breaking add-on compatibility. This time around I found very few bugs that I would consider troubling, but there are plenty of minor ones worth mentioning. As usual, you should also check <a href="https://developer.mozilla.org/en/Firefox_9_for_developers">Firefox 9 for Developers</a> for additional information.</p>
<p>Without further ado, here they are.</p>
<h3>Possible Add-on Compatibility Changes</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=665706">Semicolon in URI path handled incorrectly</a>. While this removes a fairly obscure feature of URIs, it changes <em>nsIURL</em> and other related components, which many add-ons rely on. <em>nsIURL.param</em> was removed, and one argument was removed from <em>nsIURLParser.parsePath</em>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=689252">Cleanup/remove geo.wifi.* preferences</a>. <del>The preferences <em>geo.wifi.uri</em> and <em>geo.wifi.protocol</em> were removed, and the URI is now hardcoded in <em>NetworkGeolocationProvider.js</em>. I asked in the bug what the reason behind this change is, but I haven&#8217;t received any replies yet.</del> <strong>Update:</strong> a comment in the bug has clarified that the preference is still being honored. The change is that this preference won&#8217;t have a default value and therefore won&#8217;t appear in about:config. It is still possible to set its value using the pref service, or creating a new string preference in about:config with the right name. Add-ons reading this preference still need to update their code if they aren&#8217;t expecting any exceptions when reading it without setting it first.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=679971">Remove Navigator.taintEnabled()</a>. This method doesn&#8217;t do anything useful, but since it is Netscape-specific, it has been used in browser detection scripts, and some of those made their way into add-ons. Calling this method should throw an exception starting with Firefox 9.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=660233">Move nodePrincipal and baseURIObject onto XrayWrapper and remove from nsDOMClassInfo</a>. This one should only affect add-ons that try to access the <em>baseURIObject</em>, <em>nodePrincipal</em>, and <em>documentURIObject</em> properties on a DOM Node from an unprivileged script that has requested XPConnect privileges using <em>enablePrivilege</em>. Since we have been discouraging <em>enablePrivilege</em> usage on AMO for quite a while, I don&#8217;t expect any of the add-ons we host to be affected.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=681420">Improve responsiveness of history removals</a>. This removes a couple of deprecated methods from nsIBrowserHistory: <em>registerOpenPage</em> and <em>unregisterOpenPage</em>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=568971">Nuke nsIGlobalHistory3</a>. Removes nsIGlobalHistory3, which shouldn&#8217;t have much use for add-ons anyway.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=678842">Remember spell check setting per site</a>. Removed <em>nsIEditorSpellCheck.saveDefaultDictionary</em>.</li>
</ul>
<p>The list of compatibility validation bugs is <a href="https://bugzilla.mozilla.org/buglist.cgi?status_whiteboard_type=allwordssubstr&amp;query_format=advanced&amp;status_whiteboard=%5Bfx9%5D&amp;product=addons.mozilla.org&amp;list_id=1478273">here</a>, if you&#8217;re interested. They should be fixed this week and pushed to the site on Thursday. I intend to run the bulk compatibility upgrade on Friday, but it could be delayed until next week if anything else comes up.</p>
<h3>Possible Binary Compatibility Changes</h3>
<p>These are some changes that I thought were notable and could interest binary XPCOM add-on developers. They are, for the most part, changes to IDL interfaces that won&#8217;t break JS callers, like new methods and attributes.</p>
<p>While you will always need to recompile your components, this list might save you some time if you run into compilation issues.</p>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=685774">Implement document.scripts</a>. Adds <em>nsIDOMHTMLDocument.scripts</em>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=604451">Provide a way to play the &#8220;ding&#8221; system sound used to indicate typing too many characters in a text field on Windows</a>. Adds <em>nsISound.EVENT_EDITOR_MAX_LEN</em>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=549472">Add support for fave icons on jump list uri entries</a>. Adds <em>nsIJumpListShortcut.iconImageUri</em>.</li>
</ul>
<h3>Other Notable Changes</h3>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=677643">Crash nsTHashtable with HTTPS everywhere extension</a>. There&#8217;s a long discussion in this bug that should be interesting to those whose extensions have to filter or redirect web requests in sophisticated ways. You should be aware that URIs are assumed immutable in some parts of the Mozilla code, even though they technically aren&#8217;t. Changing URI instances mid-flight is the reason behind this crash. A fix was issued and will also be included in Firefox 8.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=589292">Add contentDisposition{Filename} properties to nsIChannel</a>. This folds some attributes related to content disposition from specialized channels into the more generic <em>nsIChannel</em>. Since other channel classes inherit from <em>nsIChannel</em>, the change should not cause problems with existing code.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=689375">Add-ons are failing to install</a>. If you use the same profile to test Firefox 9 and earlier versions, there&#8217;s a chance that add-on installation will fail after testing on 9 and going back to an earlier version. Fixes already exist for Firefox 8 and Firefox 9, and they should become available soon.</li>
<li><del><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=432698">mouseenter and mouseleave events are not supported</a>. This implements those 2 events.</del> <strong>Update:</strong> This is being <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=691059#c50">reverted</a>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507186">Checkbox inside a prefwindow doesn&#8217;t affect the preference when it has a command</a>.</li>
</ul>
<p>Please let me know in the comments if there&#8217;s anything missing or incorrect on these lists. If your add-on breaks on Firefox 9, I&#8217;d like to know.</p>
<p>Remember, the compatibility bump to Firefox 9 will happen later this week. If you want your add-on to qualify for this, it should be compatible with 8.*. We have moved as many add-ons as we could to 8.*, but it is possible that your add-on is compatible and hasn&#8217;t been marked as compatible by our tools. If this is your case, you still have a few days to upgrade your compatibility on AMO or upload a new version.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/addons/2011/10/11/compatibility-for-firefox-9/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

