{"id":8212,"date":"2017-07-18T09:00:20","date_gmt":"2017-07-18T16:00:20","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=8212"},"modified":"2017-07-17T14:16:50","modified_gmt":"2017-07-17T21:16:50","slug":"compatibility-firefox-56","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/","title":{"rendered":"Add-on Compatibility for Firefox 56"},"content":{"rendered":"<p>Firefox 56 will be <a href=\"https:\/\/wiki.mozilla.org\/RapidRelease\/Calendar\">released<\/a> on September 26th. 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\/56\">Firefox 56 for Developers<\/a>, so you should also give it a look. Also, if you haven&#8217;t yet, please read our <a href=\"https:\/\/blog.mozilla.org\/addons\/2017\/02\/16\/the-road-to-firefox-57-compatibility-milestones\/\">roadmap to Firefox 57<\/a>.<\/p>\n<h3>Compatibility changes<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=981796\">Remove <code>window.showModalDialog<\/code><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1252211\">Convert remaining XUL DOM classes to WebIDL<\/a>. This could affect add-ons that do things like <code>t instanceof aWindow.XULControllers<\/code>, which should be rare.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1261841\">Replace <code>uconv<\/code> with <code>encoding_rs<\/code><\/a>. This could cause problems if you&#8217;re using converter services to convert to UTF-16. <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1261841#c121\">Comment 121<\/a> explains a little more.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=945240\">Change <code>nsStandardURL<\/code>&#8216;s internal hostname representation to punycode<\/a>. This could cause some breakage when manipulating hostnames that use non-ASCII characters.<\/li>\n<\/ul>\n<p>Let me know in the comments if there&#8217;s anything missing or incorrect on these lists. We&#8217;d like to know if your add-on breaks on Firefox 56.<\/p>\n<p>The automatic compatibility validation and upgrade for add-ons on AMO will run in a few weeks, so keep an eye on your email if you have an add-on listed on our site with its compatibility set to Firefox 55.<\/p>\n<h3>Last stop!<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-8213\" src=\"https:\/\/blog.mozilla.org\/addons\/files\/2017\/07\/7005.jpg\" alt=\"LEGO end of train line\" width=\"1200\" height=\"1200\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/2017\/07\/7005.jpg 1200w, https:\/\/blog.mozilla.org\/addons\/files\/2017\/07\/7005-160x160.jpg 160w, https:\/\/blog.mozilla.org\/addons\/files\/2017\/07\/7005-252x252.jpg 252w, https:\/\/blog.mozilla.org\/addons\/files\/2017\/07\/7005-768x768.jpg 768w, https:\/\/blog.mozilla.org\/addons\/files\/2017\/07\/7005-600x600.jpg 600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Firefox 56 will be the last version of Firefox to support legacy add-ons. It&#8217;s the last release cycle you&#8217;ll have to port your add-ons to <a href=\"https:\/\/developer.mozilla.org\/en-US\/Add-ons\/WebExtensions\">WebExtensions<\/a>. Many planned APIs won&#8217;t make the cut for 57, so make sure that you plan your development timeline accordingly.<\/p>\n<p>This is also the last compatibility overview I&#8217;ll write. I started writing these 7 years ago, the first one covering <a href=\"https:\/\/blog.mozilla.org\/addons\/2010\/07\/21\/compatibility-for-firefox-4-time-to-get-started\/\">Firefox 4<\/a>. Looking ahead, backwards-incompatible changes in WebExtensions APIs should be rare. When and if they occur, we&#8217;ll post one-offs about them, so please keep following this blog for updates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 56 will be released on September 26th. 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\/2017\/07\/18\/compatibility-firefox-56\/\">Read more<\/a><\/p>\n","protected":false},"author":173,"featured_media":8108,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[388,44,295],"tags":[278877,278873,278876,45292,288926,278871],"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 56 - 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\/2017\/07\/18\/compatibility-firefox-56\/\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/\",\"name\":\"Add-on Compatibility for Firefox 56 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.mozilla.org\/addons\/files\/2017\/03\/addons-puzzle-fox.png\",\"datePublished\":\"2017-07-18T16:00:20+00:00\",\"dateModified\":\"2017-07-17T21:16:50+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#primaryimage\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/files\/2017\/03\/addons-puzzle-fox.png\",\"contentUrl\":\"https:\/\/blog.mozilla.org\/addons\/files\/2017\/03\/addons-puzzle-fox.png\",\"width\":220,\"height\":220,\"caption\":\"Add-ons logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 56\"}]},{\"@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 56 - 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\/2017\/07\/18\/compatibility-firefox-56\/","twitter_misc":{"Written by":"Jorge Villalobos","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/","url":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/","name":"Add-on Compatibility for Firefox 56 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.mozilla.org\/addons\/files\/2017\/03\/addons-puzzle-fox.png","datePublished":"2017-07-18T16:00:20+00:00","dateModified":"2017-07-17T21:16:50+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#primaryimage","url":"https:\/\/blog.mozilla.org\/addons\/files\/2017\/03\/addons-puzzle-fox.png","contentUrl":"https:\/\/blog.mozilla.org\/addons\/files\/2017\/03\/addons-puzzle-fox.png","width":220,"height":220,"caption":"Add-ons logo"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2017\/07\/18\/compatibility-firefox-56\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 56"}]},{"@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\/8212"}],"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=8212"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/8212\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media\/8108"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=8212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=8212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=8212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}