{"id":8063,"date":"2017-02-28T11:07:15","date_gmt":"2017-02-28T19:07:15","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=8063"},"modified":"2017-03-01T06:48:26","modified_gmt":"2017-03-01T14:48:26","slug":"compatibility-for-firefox-53","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/","title":{"rendered":"Add-on Compatibility for Firefox 53"},"content":{"rendered":"<p>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>. Firefox 53 is an important milestone, when we will stop accepting <em>new<\/em> legacy add-ons on AMO, will turn Multiprocess Firefox on by default, and will be restricting binary access from add-ons outside of the <a href=\"https:\/\/developer.mozilla.org\/en-US\/Add-ons\/WebExtensions\">WebExtensions<\/a> API.<\/p>\n<p>Firefox 53 will be <a href=\"https:\/\/wiki.mozilla.org\/RapidRelease\/Calendar\">released<\/a> on April 18th. 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\/53\">Firefox 53 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=1323128\">Remove support for multi-package xpis<\/a>. This is still used by a few add-ons that mix complete themes and extensions in a single package, but it&#8217;s going away along with other legacy add-on technologies.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1147911\">Use a separate content process for file:\/\/ URLs<\/a>. This slightly changes the behavior of <a href=\"https:\/\/hg.mozilla.org\/mozilla-central\/rev\/19e3bf665a8e\"><code>_openURIInNewTab<\/code><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1331296\">Remove support for <code>-moz-calc()<\/code><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1311707\"><code>dom-storage2-changed<\/code> notifications are not useful for private windows<\/a>. This created a separate <code>dom-private-storage2-changed<\/code> notification for private windows.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1321556\"><span id=\"summary_alias_container\"><span id=\"short_desc_nonedit_display\">Remove unused bindings from urlbarbindings.xml<\/span><\/span><\/a>. Removes <code>&lt;splitmenu&gt;<\/code> and <code>&lt;menuitem-tooltip&gt;<\/code>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1322414\"><span id=\"summary_alias_container\"> <span id=\"short_desc_nonedit_display\">Move content vs. content-primary distinction out of the <code>type<\/code> browser attribute<\/span><\/span><\/a>.\u00a0 This means <code>type=\"content-primary\"<\/code> now works exactly as <code>type=\"content\"<\/code>, and will be dropped eventually.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1270364\"><code>MimeTypeArray<\/code> should have unenumerable named properties<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1270366\"><code>PluginArray<\/code> and <code>Plugin<\/code> should have unenumerable own properties<\/a>.<\/li>\n<\/ul>\n<h3>Password Manager<\/h3>\n<p>The 3 following changes are related, and the main impact is that add-ons can no longer call <code>findSlotByName(\"\")<\/code> to figure out if the master password is set. You can find an example on how to change this <a href=\"https:\/\/hg.mozilla.org\/mozilla-central\/rev\/6f732b38a5a2#l1.12\">here<\/a>.<\/p>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1328456\">Disallow empty token names as the argument to <code>nsIPK11TokenDB.findTokenByName<\/code><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1324071\">Add <code>nsIPK11Token.hasPassword<\/code> to replace unnecessary uses of <code>nsIPKCS11Slot.status<\/code><\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1325648\">Remove token choosing functionality from changepassword.(js|xul)<\/a>.<\/li>\n<\/ul>\n<h3>XPCOM and Modules<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=857627\">Don&#8217;t expose the NSS certificate nickname API in PSM interfaces<\/a>. This changes a number of methods in <code>nsIX509Cert<\/code>: <code>addCert<\/code>, <code>addCertFromBase64<\/code>, <code>findCertByNickname<\/code>, <code>findEmailEncryptionCert<\/code>, <code>findEmailSigningCert<\/code>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=987512\">AddonManager APIs should try to support both callbacks and promises<\/a>. This makes the callback for <code>getInstallForURL<\/code> to be called asynchronously.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1329926\">Remove <code>getURIForKeyword<\/code> API<\/a>. <code>PlacesUtils.keywords.fetch<\/code> should be used instead.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1328546\">Support <code>ServoStyleSheets<\/code> in <code>nsIStyleSheetService::PreloadSheet<\/code><\/a>. This changes the return type of <code>preloadSheet<\/code>, which shouldn&#8217;t affect you unless you do anything other than pass it to <code>addSheet.<\/code><\/li>\n<\/ul>\n<h3>WebExtensions<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1333810\">Encrypt record deletes<\/a>. The <code>storage.sync<\/code> API hasn&#8217;t shipped yet, but it&#8217;s probably already in use by some pre-release users. This change causes old synced data to be lost.<\/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 53, 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 52.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you haven&#8217;t yet, please read our roadmap to Firefox 57. Firefox 53 is an important milestone, when we will stop accepting new legacy add-ons on AMO, will turn Multiprocess &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/\">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,45292,288922,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 53 - 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\/02\/28\/compatibility-for-firefox-53\/\" \/>\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\/2017\/02\/28\/compatibility-for-firefox-53\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/\",\"name\":\"Add-on Compatibility for Firefox 53 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2017-02-28T19:07:15+00:00\",\"dateModified\":\"2017-03-01T14:48:26+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 53\"}]},{\"@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 53 - 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\/02\/28\/compatibility-for-firefox-53\/","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\/2017\/02\/28\/compatibility-for-firefox-53\/","url":"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/","name":"Add-on Compatibility for Firefox 53 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2017-02-28T19:07:15+00:00","dateModified":"2017-03-01T14:48:26+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2017\/02\/28\/compatibility-for-firefox-53\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 53"}]},{"@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\/8063"}],"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=8063"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/8063\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=8063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=8063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=8063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}