{"id":7748,"date":"2016-04-07T07:44:45","date_gmt":"2016-04-07T14:44:45","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=7748"},"modified":"2016-04-12T12:42:11","modified_gmt":"2016-04-12T19:42:11","slug":"compatibility-for-firefox-47","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/","title":{"rendered":"Add-on Compatibility for Firefox 47"},"content":{"rendered":"<p>Firefox 47 will be <a href=\"https:\/\/wiki.mozilla.org\/RapidRelease\/Calendar\">released<\/a> on June 7th. 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\/47\">Firefox 47 for Developers<\/a>, so you should also give it a look.<\/p>\n<h3>General<\/h3>\n<ul>\n<li><strong><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1090880\">Remove FUEL<\/a><\/strong>. The <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Tech\/Toolkit_API\/FUEL\">FUEL library<\/a> has been deprecated since Firefox 40.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1014185\">Remove the about:customizing preloading hack<\/a>. The UI customization panel no longer opens using the about:customizing URL.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1188405\">Move gDevTools.jsm to a commonjs module<\/a>. Instead of loading the module using <code>Cu.import<\/code>, you should now use<br \/>\n<code>require(\"devtools\/client\/framework\/devtools-browser\");<\/code>. The module still works for backward compatibility, but it will be removed in the future.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1172165\">Don&#8217;t let web pages link to view-source: URLs<\/a>.<\/li>\n<\/ul>\n<h3>Tabs<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1244496\"><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><code>TabOpen<\/code> and <code>TabClose<\/code> events should provide more detail about tabs moved between windows<\/span><\/span><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1247920\">Remove tabs&#8217; <code>visibleLabel<\/code> property and <code>TabLabelModified<\/code> event<\/a>. This is a reversal from previous work on supporting a separate label for tabs.<\/li>\n<\/ul>\n<h3>XPCOM<\/h3>\n<ul>\n<li><span id=\"summary_alias_container\"> <span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1245184\">CookieManager should remove cookies only if they match the userContextId<\/a><\/span><\/span>. This changes<br \/>\n<code>nsICookieManager.remove<\/code> by adding a new required argument (<code>originAttributes<\/code>). <strong>Update:<\/strong> these changes may be temporarily reverted in <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1259169\">bug 1259169<\/a>, but you should still prepare for them.<\/li>\n<li>Various changes to <code>nsIX509CertDB<\/code>: <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1064402\">bug 1064402<\/a>, <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1241646\">bug 1241646<\/a>, <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1241650\">bug 1241650<\/a>. Many functions changed here, so I won&#8217;t list them.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1220237\">Remove uses of <code>nsIEnumerator<\/code> from PSM<\/a>. This changes the functions <code>listTokens,\u00a0listModules<\/code>, and <code>listSlots<\/code>, both of which now return <code>nsISimpleEnumerator<\/code> instead of <code>nsIEnumerator<\/code>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1243779\">Remove <code>uriIsPrefix<\/code> option from <code>nsINavHistoryQuery<\/code><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1220654\">Replace <code>removeVisitsTimeframe<\/code> with <code>History.removeVisitsByFilter<\/code> and deprecate it<\/a>.<\/li>\n<\/ul>\n<h3>New<\/h3>\n<ul>\n<li><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\"><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=950936\">Debugging auto-close XUL panels is painful<\/a>. Now you can <a href=\"https:\/\/developer.mozilla.org\/en-US\/Add-ons\/WebExtensions\/Debugging#Debugging_popups\">debug popup panels<\/a> in add-ons.<\/span><\/span><\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1238160\">Support frames similar to mozbrowser on desktop Firefox<\/a>. This enables a <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Gecko\/Chrome\/API\/Browser_API\">new iframe API<\/a> that makes the content believe it&#8217;s being loaded in a top-level window.<\/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 47, I&#8217;d like to know.<\/p>\n<p>The automatic compatibility validation and upgrade for add-ons on AMO will happen 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 46.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 47 will be released on June 7th. 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\/04\/07\/compatibility-for-firefox-47\/\">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,278892],"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 47 - 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\/04\/07\/compatibility-for-firefox-47\/\" \/>\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\/04\/07\/compatibility-for-firefox-47\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/\",\"name\":\"Add-on Compatibility for Firefox 47 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2016-04-07T14:44:45+00:00\",\"dateModified\":\"2016-04-12T19:42:11+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 47\"}]},{\"@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 47 - 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\/04\/07\/compatibility-for-firefox-47\/","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\/04\/07\/compatibility-for-firefox-47\/","url":"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/","name":"Add-on Compatibility for Firefox 47 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2016-04-07T14:44:45+00:00","dateModified":"2016-04-12T19:42:11+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2016\/04\/07\/compatibility-for-firefox-47\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 47"}]},{"@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\/7748"}],"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=7748"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/7748\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=7748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=7748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=7748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}