--- title: Firefox 59 for developers slug: Mozilla/Firefox/Releases/59 translation_of: Mozilla/Firefox/Releases/59 original_slug: Mozilla/Firefox/Versions/59 ---
This article provides information about the changes in Firefox 59 that will affect developers. Firefox 59 was released on March 13, 2018.
The {{HTMLElement("textarea")}} element's {{htmlattrxref("autocomplete", "textarea")}} attribute has been implemented. This lets you enable or disable form auto-fill for the element.
contents has been updated as per spec ({{bug(1427292)}}). See Appendix B: Effects of display: contents on Unusual Elements for exactly what the specced behaviors are.sticky is now supported on appropriate HTML table parts (e.g. {{htmlelement("th")}} elements) ({{bug(975644)}}).rgb(), rgba(), hsl(), and hsla() ({{bug(984021)}}).No changes.
No changes.
{{domxref("PointerEvent","PointerEvents")}} have been enabled in Firefox Desktop ({{bug(1411467)}}).
null value for its body parameter, as per spec ({{bug(1303025)}}).The {{domxref("Event.composedPath()")}} method has been implemented ({{bug(1412775)}}).
Response.url will be used to resolve any relative {{cssxref("@import")}} or {{domxref("WorkerGlobalScope.importScripts()","importScripts()")}} subresource loads ({{bug(1222008)}}).FetchEvent.respondWith() will now trigger a network error if the {{domxref("Request.mode","FetchEvent.request.mode")}} is "same-origin" and the provided {{domxref("Response.type")}} is "cors". ({{bug(1222008)}})muted state indicates that the track is not currently able to provide media data.
muted state of a track isn't useful for what's typically thought of as muting and unmuting a track. Instead, use the {{domxref("MediaStreamTrack.enabled", "enabled")}} property; setting enabled to false causes the track to output only empty frames.media.peerconnection.rtpsourcesapi.enable ({{bug(1363667)}}, {{bug(1430213)}}, and {{bug(1433236)}}.RTCPeerConnection and other interfaces updated to use them per the latest specification.REGION definition blocks whose settings list has one setting per line instead of all of the settings being on the same line of the WebVTT file ({{bug(1415821)}}.No changes.
The {{domxref("CSSNamespaceRule")}} interface and its namespaceURL and prefix properties have been implemented ({{bug(1326514)}}).
No changes.
data: URIs has been blocked {{bug(1401895)}}. See Blocking Top-Level Navigations to data URLs for Firefox 59 for more details.SAMEORIGIN directive of the {{httpheader("X-Frame-Options")}} header has been changed so that it checks not only the top-level IFrame is in the same origin, but all its ancestors as well ({{bug(725490)}}).utf-8 encoding for usernames and passwords (rather than ISO-8859-1) for parity with other browsers, and to avoid potential problems as described in {{bug(1419658)}}..app and .dev. While they are new TLDs developers might have used them for local development and be surprised by this change. Note that reserved TLDs should be used for local development instead.No changes.
No changes.
The non-standard version parameter of the {{htmlelement("script")}} element's {{htmlattrxref("type","script")}} attribute (e.g. type="application/javascript;version=1.8") has been removed ({{bug(1428745)}}).
mozmm {{cssxref("<length>")}} unit has been removed ({{bug(1416564)}}).Event.getPreventDefault() has been removed. You should instead use the {{domxref("Event.defaultPrevented")}} property to determine whether or not {{domxref("Event.preventDefault", "preventDefault()")}} was called on the {{domxref("Event")}}.Navigator.mozNotification property and DesktopNotification interface have been removed, in favor of the standard Notifications API ({{bug(952453)}}).window.external.addSearchEngine() method has been removed ({{bug("862147")}}). Also see {{domxref("Window.sidebar")}} for more details.mozAutoplayEnabled has been removed.Support for SMIL's accessKey feature has been removed ({{bug(1423098)}}).
Support for the non-standard pcast: and feed: protocols has been removed from Firefox ({{bug(1420622)}}).
colors.background_tab_text, colors.toolbar_field_bordertabs APIs:
contextMenus API now supports a "bookmark" context.contentScripts API enables runtime registration of content scripts.pageAction, browserAction, SidebarAction APIs:
browserAction/pageAction/sidebarAction.set* functions now accept null to undo changes.browserAction.isEnabled(), pageAction.isShown() , sidebarAction.isOpen() functions.page_action to show page actions by default.protocol_handers:
privacy.websites setting "cookieConfig".cookies API for first-party isolation.upgradeToSecure in webRequest.Site compatibility for Firefox 59
{{Firefox_for_developers(58)}}