{"id":8712,"date":"2019-07-25T08:15:42","date_gmt":"2019-07-25T15:15:42","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=8712"},"modified":"2019-07-26T07:40:28","modified_gmt":"2019-07-26T14:40:28","slug":"upcoming-deprecations-in-firefox-70","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/","title":{"rendered":"Upcoming deprecations in Firefox 70"},"content":{"rendered":"<p>Several planned code deprecations for Firefox 70, currently available on the <a href=\"https:\/\/www.mozilla.org\/firefox\/nightly\/all\/\">Nightly<\/a> pre-release channel, may impact extension and theme developers. Firefox 70 will be released on October 22, 2019.<\/p>\n<h2>Aliased theme properties to be removed<\/h2>\n<p>In Firefox 65, we started deprecating the aliased theme properties <code>accentcolor<\/code>, <code>textcolor<\/code>, and <code>headerURL<\/code>. These properties will be removed in Firefox 70.<\/p>\n<p>Themes listed on addons.mozilla.org (AMO) will be automatically updated to use <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/WebExtensions\/manifest.json\/theme\">supported properties<\/a>. Most themes were updated back in April, but new themes have been created using the deprecated properties. If your theme is not listed on AMO, or if you are the developer of a <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Add-ons\/Themes\/Theme_concepts#Dynamic_themes\">dynamic theme<\/a>, please update your theme\u2019s manifest.json to use the supported properties.<\/p>\n<ul>\n<li>For <code>accentcolor<\/code>, please use <code>frame<\/code> <code><\/code><\/li>\n<li>For <code>headerURL<\/code>, please use <code>theme_frame<\/code><\/li>\n<li>For <code>textcolor<\/code>, please use <code>tab_background_text<\/code><code><\/code><\/li>\n<\/ul>\n<h2>JavaScript deprecations<\/h2>\n<p>In Firefox 70, the non-standard, Firefox-specific <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Array#Array_generic_methods\"><b>Array <\/b>generic methods<\/a> introduced with JavaScript 1.6 will be considered deprecated and scheduled for removal in the near future. For more information about which generics will be removed and suggested alternatives, please see the <a href=\"https:\/\/www.fxsitecompat.dev\/en-CA\/docs\/2019\/non-standard-array-generics-have-been-deprecated\/\">Firefox Site Compatibility blog<\/a>.<\/p>\n<p>The Site Compatibility working group also intends to <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1418769\">remove<\/a> the non-standard prototype <code>toSource<\/code> and <code>uneval<\/code> by the end of 2019.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Several planned code deprecations for Firefox 70, currently available on the Nightly pre-release channel, may impact extension and theme developers. Firefox 70 will be released on October 22, 2019. Aliased &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/\">Read more<\/a><\/p>\n","protected":false},"author":1405,"featured_media":7560,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[388,44,551,278886],"tags":[121],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Upcoming deprecations in Firefox 70 - Mozilla Add-ons Community Blog<\/title>\n<meta name=\"description\" content=\"Several planned code deprecations for Firefox 70, currently available on the Nightly pre-release channel, may impact extension and theme developers.\" \/>\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\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Caitlin Neiman\" \/>\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\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/\",\"name\":\"Upcoming deprecations in Firefox 70 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.mozilla.org\/addons\/files\/2015\/09\/foxface_puzzle.jpg\",\"datePublished\":\"2019-07-25T15:15:42+00:00\",\"dateModified\":\"2019-07-26T14:40:28+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/d42e525583ec49a90da7806934fd533f\"},\"description\":\"Several planned code deprecations for Firefox 70, currently available on the Nightly pre-release channel, may impact extension and theme developers.\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#primaryimage\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/files\/2015\/09\/foxface_puzzle.jpg\",\"contentUrl\":\"https:\/\/blog.mozilla.org\/addons\/files\/2015\/09\/foxface_puzzle.jpg\",\"width\":945,\"height\":922},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upcoming deprecations in Firefox 70\"}]},{\"@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\/d42e525583ec49a90da7806934fd533f\",\"name\":\"Caitlin Neiman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/022ba856a87c8f40739b7ef2fdcdf33c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/022ba856a87c8f40739b7ef2fdcdf33c?s=96&d=mm&r=g\",\"caption\":\"Caitlin Neiman\"},\"description\":\"Add-ons Community Manager at Mozilla.\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/cneimanmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upcoming deprecations in Firefox 70 - Mozilla Add-ons Community Blog","description":"Several planned code deprecations for Firefox 70, currently available on the Nightly pre-release channel, may impact extension and theme developers.","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\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/","twitter_misc":{"Written by":"Caitlin Neiman","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/","url":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/","name":"Upcoming deprecations in Firefox 70 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.mozilla.org\/addons\/files\/2015\/09\/foxface_puzzle.jpg","datePublished":"2019-07-25T15:15:42+00:00","dateModified":"2019-07-26T14:40:28+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/d42e525583ec49a90da7806934fd533f"},"description":"Several planned code deprecations for Firefox 70, currently available on the Nightly pre-release channel, may impact extension and theme developers.","breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#primaryimage","url":"https:\/\/blog.mozilla.org\/addons\/files\/2015\/09\/foxface_puzzle.jpg","contentUrl":"https:\/\/blog.mozilla.org\/addons\/files\/2015\/09\/foxface_puzzle.jpg","width":945,"height":922},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2019\/07\/25\/upcoming-deprecations-in-firefox-70\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Upcoming deprecations in Firefox 70"}]},{"@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\/d42e525583ec49a90da7806934fd533f","name":"Caitlin Neiman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/022ba856a87c8f40739b7ef2fdcdf33c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/022ba856a87c8f40739b7ef2fdcdf33c?s=96&d=mm&r=g","caption":"Caitlin Neiman"},"description":"Add-ons Community Manager at Mozilla.","url":"https:\/\/blog.mozilla.org\/addons\/author\/cneimanmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/8712"}],"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\/1405"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=8712"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/8712\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media\/7560"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=8712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=8712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=8712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}