{"id":7669,"date":"2016-02-05T15:26:05","date_gmt":"2016-02-05T23:26:05","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=7669"},"modified":"2016-02-05T15:26:05","modified_gmt":"2016-02-05T23:26:05","slug":"compatibility-for-firefox-45","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/","title":{"rendered":"Add-on Compatibility for Firefox 45"},"content":{"rendered":"<p>Firefox 45 will be <a href=\"https:\/\/wiki.mozilla.org\/RapidRelease\/Calendar\">released<\/a> on March 8th. 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\/45\">Firefox 45 for Developers<\/a>, so you should also give it a look.<\/p>\n<h3>General<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=995610\">JavaScript expression closures (shorthand function syntax) are deprecated<\/a>. From the bug report, this is an example of the deprecated syntax: <code>var x = function() 1;<\/code><\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=979591\">Disallow calling WebIDL constructors as functions for system callers<\/a>. Constructors should always be called using the <code>new<\/code> keyword.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1215235\">Drop support for jar: URIs by default<\/a>. This only affects web content being loaded with the jar: protocol.<\/li>\n<\/ul>\n<h3>UI<\/h3>\n<ul>\n<li><strong><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1222490\">Remove Panorama \/ Tab Groups<\/a>.<\/strong> There are a <a href=\"https:\/\/addons.mozilla.org\/firefox\/search\/?q=tab%20groups\">couple of add-ons<\/a> that are already taking the lead and bringing back the feature for those who need it.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1206244\">Replace globe with the &#8220;i&#8221; icon, keep separate lock for secure pages<\/a>. This changes the appearance and behavior of the identity information that appears to the left of the current URL.<\/li>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1223701\">Stop using icon sprites for command buttons<\/a>. This would only affects extensions and themes that touch the buttons in the developer tools.<\/span><\/span><\/li>\n<\/ul>\n<h3>XPCOM<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1119386\">Use the loading document&#8217;s principal to populate loadInfo for Favicons<\/a>. <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1119386#c51\">Comment 51<\/a> sums it up well. If you call <code>mozIAsyncFavicons.setAndFetchFaviconForPage<\/code> or <code>mozIAsyncFavicons.replaceFaviconDataFromDataURL<\/code>, you should pass the right principal using the new optional argument.<\/li>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1124185\">Replace removeAllPages with history.clear() and deprecate it<\/a><\/span><\/span>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1222829\">Remove nsIURIChecker<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1214619\">Remove nsISaveAsCharset<\/a>. The interface is still there and should work, but some of the parameters its methods take are being ignored now.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=120684\">Make listbox.selectedItems be an nsIDOMNodeList<\/a>.<\/li>\n<\/ul>\n<h3>Signing<\/h3>\n<ul>\n<li>Firefox is currently <a href=\"https:\/\/wiki.mozilla.org\/Add-ons\/Extension_Signing\">enforcing add-on signing<\/a>, with a preference to override it. Firefox 46 will remove the preference entirely\u00a0, which means your add-on will need to be signed in order to run in release versions of Firefox. You can <a href=\"https:\/\/developer.mozilla.org\/en-US\/Add-ons\/Distribution\">read about your options here<\/a>.<\/li>\n<\/ul>\n<h3>New<\/h3>\n<ul>\n<li><strong><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1214058\">Support a simplified JSON add-on update protocol<\/a>.<\/strong> Firefox now supports a <a href=\"https:\/\/developer.mozilla.org\/en-US\/Add-ons\/Updates\">JSON update file<\/a> for add-ons that manage their own automatic updates, as an alternative to the existing XML format. For new add-ons, we suggest using the JSON format. You shouldn&#8217;t immediately switch for older add-ons until most of your users are on 45 and later.<\/li>\n<\/ul>\n<p>Let me know in the comments if there&#8217;s anything missing or incorrect on these lists. If your add-on breaks on Firefox 45, 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 44.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 45 will be released on March 8th. 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\/2016\/02\/05\/compatibility-for-firefox-45\/\">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,4870,278887,4260],"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 45 - 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\/2016\/02\/05\/compatibility-for-firefox-45\/\" \/>\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\/2016\/02\/05\/compatibility-for-firefox-45\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/\",\"name\":\"Add-on Compatibility for Firefox 45 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2016-02-05T23:26:05+00:00\",\"dateModified\":\"2016-02-05T23:26:05+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 45\"}]},{\"@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 45 - 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\/2016\/02\/05\/compatibility-for-firefox-45\/","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\/2016\/02\/05\/compatibility-for-firefox-45\/","url":"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/","name":"Add-on Compatibility for Firefox 45 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2016-02-05T23:26:05+00:00","dateModified":"2016-02-05T23:26:05+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2016\/02\/05\/compatibility-for-firefox-45\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 45"}]},{"@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\/7669"}],"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=7669"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/7669\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=7669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=7669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=7669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}