{"id":7500,"date":"2015-06-18T15:32:21","date_gmt":"2015-06-18T22:32:21","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=7500"},"modified":"2015-06-18T15:32:21","modified_gmt":"2015-06-18T22:32:21","slug":"compatibility-for-firefox-40","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/","title":{"rendered":"Add-on Compatibility for Firefox 40"},"content":{"rendered":"<p>Firefox 40 will be <a href=\"https:\/\/wiki.mozilla.org\/RapidRelease\/Calendar\">released<\/a> on August 11th. 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\/Firefox\/Releases\/40\">Firefox 40 for Developers<\/a>, so you should also give it a look.<\/p>\n<h3>Extension signing<\/h3>\n<ul>\n<li>This is the first version of Firefox that will enforce our new <a href=\"https:\/\/wiki.mozilla.org\/Addons\/Extension_Signing\">signing requirements<\/a>. All AMO add-ons have already been signed and we&#8217;re in the process of reviewing non-AMO add-ons. In this version, there&#8217;s a preference to disable the signing requirement (xpinstall.signatures.required), which will be removed in 41.<\/li>\n<\/ul>\n<h3>General<\/h3>\n<ul>\n<li><strong><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1118364\">Remove widget module from SDK<\/a><\/strong>. The <a href=\"https:\/\/developer.mozilla.org\/en-US\/Add-ons\/SDK\/High-Level_APIs\/ui\">ui module<\/a> is the recommended alternative.<\/li>\n<li><span id=\"summary_alias_container\"> <span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1144127\">Remove support for distribution\/bundles<\/a><\/span><\/span>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=989307\">Make FUEL warn deprecation to the console on first usage<\/a>. The <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Tech\/Toolkit_API\/FUEL\">FUEL library<\/a> was introduced long ago to make extension development easier, but it has been superseded by the SDK and various JS Modules. It is now deprecated.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1102219\">Rename <code>String.prototype.contains<\/code> to <code>String.prototype.includes<\/code><\/a>. The <code>contains<\/code> function still works as an alias, but it will be removed soon.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1083498\">Remove support for destructuring for-in<\/a>.<\/li>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1123309\">Remove Dict.jsm<\/a><\/span><\/span>. You can use <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Map\">Map<\/a> instead.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1097922\">Remove temporary aliases for -moz-text-decoration-*<\/a>.<\/li>\n<\/ul>\n<h3>XPCOM<\/h3>\n<ul>\n<li><strong><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1159737\">Stop supporting binary XPCOM components except as part of the application<\/a><\/span><\/span><\/strong>. There&#8217;s a possibility that this will be delayed to 41, but if you have a Firefox add-on that relies on binary XPCOM components, you should <a href=\"https:\/\/blog.mozilla.org\/addons\/2015\/05\/04\/dropping-support-for-binary-components\/\">update your code<\/a> as soon as possible.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=844351\">Remove nsISSLErrorListener<\/a>.<\/li>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1140395\">Deprecate old keywords API<\/a>. The new API is <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Tech\/Places\/Using_the_Places_keywords_API\"><code>PlacesUtils.keywords<\/code><\/a>.<\/span> <\/span><\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1147085\">Remove nsINSSCertCache<\/a>.<\/li>\n<li><span id=\"summary_alias_container\"> <span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1147572\">Remove GetImplementationLanguage from DOMClassInfo<\/a><\/span><\/span>. This removes the <code>implementationLanguage<\/code> property.<\/li>\n<li><span id=\"summary_alias_container\"> <span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1157235\">Get rid of sessionstore-state-write notification<\/a><\/span><\/span>.<\/li>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1158366\">Remove several unused XPIDL element interfaces<\/a><\/span><\/span>. The following interfaces were removed: <code>nsIDOMHTMLBRElement<\/code>, <code>nsIDOMHTMLDivElement<\/code>, <code>nsIDOMHTMLHeadingElement<\/code>, <code>nsIDOMHTMLTableCaptionElement<\/code>, <code>nsIDOMHTMLTitleElement<\/code>.<\/li>\n<\/ul>\n<h3>Themes<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=706103\">Replace chrome copy of files by overrides<\/a>.<\/li>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=989469\">Use InContent prefs styling for add-on manager<\/a><\/span><\/span>.<\/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 40, 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, so keep an eye on your email if you have an add-on listed on our site with its compatibility set to Firefox 39.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 40 will be released on August 11th. 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\/2015\/06\/18\/compatibility-for-firefox-40\/\">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,278866],"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 40 - 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\/2015\/06\/18\/compatibility-for-firefox-40\/\" \/>\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\/2015\/06\/18\/compatibility-for-firefox-40\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/\",\"name\":\"Add-on Compatibility for Firefox 40 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2015-06-18T22:32:21+00:00\",\"dateModified\":\"2015-06-18T22:32:21+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 40\"}]},{\"@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 40 - 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\/2015\/06\/18\/compatibility-for-firefox-40\/","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\/2015\/06\/18\/compatibility-for-firefox-40\/","url":"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/","name":"Add-on Compatibility for Firefox 40 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2015-06-18T22:32:21+00:00","dateModified":"2015-06-18T22:32:21+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2015\/06\/18\/compatibility-for-firefox-40\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 40"}]},{"@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\/7500"}],"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=7500"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/7500\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=7500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=7500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=7500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}