Skip to content

Instantly share code, notes, and snippets.

@wbamberg
Created June 25, 2013 23:28
Show Gist options
  • Save wbamberg/5863406 to your computer and use it in GitHub Desktop.
Save wbamberg/5863406 to your computer and use it in GitHub Desktop.
Firefox 22 shipped today, Firefox 23 entered Beta, and Firefox 24 entered Aurora.
This is the first time the SDK modules in a release of Firefox have diverged from the modules shipping in the last independent release of the SDK, which was 1.14. So we've updated the docs for this release, and also added docs for Firefoxes 23 and 24:
<a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-22/">https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-22/</a>
<a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/">https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/</a>
<a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-24/">https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-24/</a>
Once we landed the SDK in Firefox we started work on some larger projects to deliver features we've wanted for some time. So Firefox 22 didn't include many user-visible changes to the SDK.
However, there's some more interesting stuff coming in Firefox 23 and 24.
<h2><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/">Firefox 23</a></h2>
<ul>
<li><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/modules/sdk/panel.html#Panel%28options%29">panel positioning</a>: now you can supply a <code>position</code> object to the <code>Panel</code> constructor or its <code>show()</code> method, to control where it's displayed in the browser window</li>
<li><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/modules/sdk/tabs.html#load"><code>load</code></a> and <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/modules/sdk/tabs.html#pageshow"><code>pageshow</code></a> tab events. The <code>load</code> event means you can get page load notifications for pages, like images, that don't contain DOM content. The <code>pageshow</code> event means you can get notified when a page is retrieved from the <a href="https://developer.mozilla.org/en-US/docs/Working_with_BFCache">BFCache</a>: for example, when the user uses the "Back" button to navigate back to a page.</li>
<li><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-23/dev-guide/guides/xul-migration.html#User%20Interface%20Components">XUL window support</a>: you can include a chrome.manifest file and use it to specify XUL windows for your add-on. This makes it easier to port a XUL add-on to the SDK, because you don't immediately have to rewrite XUL windows in HTML.</li>
</ul>
<h2><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-24/">Firefox 24</a></h2>
<ul>
<li><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-24/modules/sdk/request.html#head%28%29">support for HEAD requests</a>: thanks to <a href="https://github.com/bkase">@bkase</a> for fixing this very old bug.</li>
<li><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-24/modules/sdk/addon-page.html">deprecate <code>addon-page</code></a>: the <code>addon-page</code> module isn't compatible with the new "Australis" UI coming in Firefox, so we've deprecated it in Firefox 24. It will still work until Australis ships, then using the module will have no effect (addon-page tabs will look like normal content tabs).</li>
<li><a href="https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-24/dev-guide/guides/content-scripts/cross-domain.html">cross-domain content scripts</a>: a new field in "package.json" enables content scripts to access content in iframes served from a different domain, and to make cross-domain XMLHttpRequests.</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment