{"id":6776,"date":"2013-09-30T16:25:15","date_gmt":"2013-09-30T23:25:15","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=6776"},"modified":"2013-10-24T11:16:34","modified_gmt":"2013-10-24T18:16:34","slug":"compatibility-for-firefox-25","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/","title":{"rendered":"Add-on Compatibility for Firefox 25"},"content":{"rendered":"<p>Firefox 25 will be <a href=\"https:\/\/wiki.mozilla.org\/RapidRelease\/Calendar\">released<\/a> on October 29th. Here&#8217;s the list of changes that went into this version that can affect add-on compatibility. There is more information available in <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Firefox\/Releases\/25\">Firefox 25 for Developers<\/a>, so you should read that too.<\/p>\n<h3>General<\/h3>\n<ul>\n<li><strong>Update: <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=821687\">Status panel should be attached to the content area without overlapping surrounding chrome.<\/a><\/strong> I didn&#8217;t learn about this change until it was brought up in the comments below. If you get the status panel using <code>getElementById(\"statusbar-display\")<\/code>, it won&#8217;t work anymore. You need to <code>gBrowser.getStatusPanel()<\/code> instead.<\/li>\n<li><strong><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=776708\">Improve the visual appearance of the &#8220;find in page&#8221; bar<\/a><\/strong>. This is part of a major overhaul in the find bar. If you add-on depends on that binding, you&#8217;ll want to keep a close eye on this and future updates. This new version makes the find bar show up in the content area instead of at the window level (try opening a sidebar to see the difference), and it might also be <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=869543\">moved to the top<\/a> in the future (it briefly appeared at the top in the Aurora channel, but it was rolled back).<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=846635\">Use asynchronous getCharsetForURI in getShortcutOrURI<\/a>. This replaces the <code>getShortcutOrURI<\/code> function with the asynchronous <code>getShortcutOrURIAndPostData<\/code>. This also affects the function <code>_canonizeURL<\/code> from urlbarBindings.xml, making it asynchronous as well.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=895839\">Remove support for binary annotations<\/a>.<\/li>\n<\/ul>\n<h3>DOM<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=898817\"><strong>Stop exposing nsIDOM* interfaces on the global automatically<\/strong><\/a>. This cleans up several chrome-specific interfaces that were being exposed to content. There&#8217;s a comprehensive list of the removals in <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Firefox\/Releases\/25\/Site_Compatibility\">this article<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=501496\">preventDefault on keydown does not cancel following keypress<\/a>. It now does, which we know affected at least one add-on.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=653881\">Fix up our XBL1 shadow tree implementation<\/a>. This made a series of back-end changes to XBL, which should be generally invisible. This briefly <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=888787\">broke complex add-on toolbar buttons<\/a>, though, but that is fixed already and no change is required from developers as far as I know.<\/li>\n<\/ul>\n<h3>XPCOM<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=898308\">Clean up SessionStore initialization<\/a>. This shouldn&#8217;t affect add-ons unless they manually call <code>SessionStore.init()<\/code>, which they shouldn&#8217;t. However, if your add-on does, you might want to read comment 10 and the following ones.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=865188\">Remove &#8220;profile&#8221; database from OpenSpecialDatabase<\/a>.<\/li>\n<li>Move <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=888598\">IDBTransaction<\/a>,\u00a0<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=887524\">IDBRequest<\/a>,\u00a0<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=891944\">IDBCursor<\/a> to WebIDL. This is part of the <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=763231\">moving of IndexedDB away from XPCOM<\/a>, which is slated to be finished in Firefox 27.<\/li>\n<\/ul>\n<h3>New!<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=810399\">Add a CSS Media Query for Windows 8 Desktop theme<\/a>. The outcome of this bug is that there&#8217;s now a <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Guide\/CSS\/Media_queries#-moz-os-version\">-moz-os-version<\/a> selector that can make things easier for theme and extension developers.<\/li>\n<\/ul>\n<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 25, I&#8217;d like to know.<\/p>\n<p>The automatic compatibility validation and upgrade for add-ons on AMO will happen in the coming weeks (the Mozilla Summit will probably delay this), so keep an eye on your email if you have an add-on listed on our site with its compatibility set to Firefox 24.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 25 will be released on October 29th. Here&#8217;s the list of changes that went into this version that can affect add-on compatibility. There is more information available in Firefox &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/\">Read more<\/a><\/p>\n","protected":false},"author":173,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[388,44,295],"tags":[278877,278873,278876,28091],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add-on Compatibility for Firefox 25 - Mozilla Add-ons Community Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jorge Villalobos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/\",\"name\":\"Add-on Compatibility for Firefox 25 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2013-09-30T23:25:15+00:00\",\"dateModified\":\"2013-10-24T18:16:34+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 25\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/\",\"name\":\"Mozilla Add-ons Community Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\",\"name\":\"Jorge Villalobos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g\",\"caption\":\"Jorge Villalobos\"},\"description\":\"Jorge is the Product Manager for addons.mozilla.org\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/jvillalobosmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add-on Compatibility for Firefox 25 - Mozilla Add-ons Community Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/","twitter_misc":{"Written by":"Jorge Villalobos","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/","url":"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/","name":"Add-on Compatibility for Firefox 25 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2013-09-30T23:25:15+00:00","dateModified":"2013-10-24T18:16:34+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2013\/09\/30\/compatibility-for-firefox-25\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 25"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/addons\/#website","url":"https:\/\/blog.mozilla.org\/addons\/","name":"Mozilla Add-ons Community Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925","name":"Jorge Villalobos","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g","caption":"Jorge Villalobos"},"description":"Jorge is the Product Manager for addons.mozilla.org","url":"https:\/\/blog.mozilla.org\/addons\/author\/jvillalobosmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/6776"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/users\/173"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=6776"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/6776\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=6776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=6776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=6776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}